Method: pages.update
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
更新網頁上的所有 ClaimReview
標記
請注意,這是完整更新,如要在網頁上保留現有的 ClaimReview
標記,請先執行 Get 作業,然後修改傳回的標記,最後以整個 ClaimReview
標記做為主體呼叫 Update。
HTTP 要求
PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
claimReviewMarkupPage.name |
string
這個 ClaimReview 標記頁面資源的名稱,格式為 pages/{page_id} 。除了更新要求外,這個欄位僅供輸出,使用者不應設定。
|
回應主體
如果成功,回應主體會包含 ClaimReviewMarkupPage
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/factchecktools
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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`"]]