Method: pages.update
Stay organized with collections
Save and categorize content based on your preferences.
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-04 UTC.
[null,null,["Last updated 2024-11-04 UTC."],[[["\u003cp\u003eUpdates all \u003ccode\u003eClaimReview\u003c/code\u003e markup on a specified page, requiring a full replacement of existing markup.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a \u003ccode\u003ePUT\u003c/code\u003e request to \u003ccode\u003ehttps://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}\u003c/code\u003e for updates.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003eclaimReviewMarkupPage.name\u003c/code\u003e path parameter to identify the target page using the format \u003ccode\u003epages/{page_id}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain the entire updated \u003ccode\u003eClaimReviewMarkupPage\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/factchecktools\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: pages.update\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdate for all `ClaimReview` markup on a page\n\nNote 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.\n\n### HTTP request\n\n`PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `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. |\n\n### Request body\n\nThe request body contains an instance of [ClaimReviewMarkupPage](/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage).\n\n### Response body\n\nIf successful, the response body contains an instance of [ClaimReviewMarkupPage](/fact-check/tools/api/reference/rest/v1alpha1/pages#ClaimReviewMarkupPage).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/factchecktools`"]]