Method: pages.update

  • The Update method allows for a full update of all ClaimReview markup on a page.

  • To retain existing markup, a Get operation should be performed first, followed by modification and then an Update call with the complete markup.

  • The HTTP request uses a PUT method and includes the page name in the URL path.

  • The request and response bodies contain an instance of ClaimReviewMarkupPage.

  • Authorization requires the https://www.googleapis.com/auth/factchecktools OAuth scope.

Update for all ClaimReview markup on a page

Note that this is a full update. To retain the existing ClaimReview markup on a page, first perform a Get operation, then modify the returned markup, and finally call Update with the entire ClaimReview markup as the body.

HTTP request

PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
claimReviewMarkupPage.name

string

The name of this ClaimReview markup page resource, in the form of pages/{page_id}. Except for update requests, this field is output-only and should not be set by the user.

Request body

The request body contains an instance of ClaimReviewMarkupPage.

Response body

If successful, the response body contains an instance of ClaimReviewMarkupPage.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/factchecktools