Method: pages.update
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Обновление для всей разметки ClaimReview
на странице
Обратите внимание, что это полное обновление. Чтобы сохранить существующую разметку ClaimReview
на странице, сначала выполните операцию Get, затем измените возвращённую разметку и, наконец, вызовите Update, используя всю разметку ClaimReview
в качестве тела.
HTTP-запрос
PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}
URL использует синтаксис перекодировки gRPC .
Параметры пути
Параметры |
---|
claimReviewMarkupPage.name | string Имя ресурса страницы разметки ClaimReview в формате pages/{page_id} . За исключением запросов на обновление, это поле предназначено только для вывода и не должно задаваться пользователем. |
Текст запроса
Тело запроса содержит экземпляр ClaimReviewMarkupPage
.
Тело ответа
В случае успеха тело ответа содержит экземпляр ClaimReviewMarkupPage
.
Области авторизации
Требуется следующая область OAuth:
-
https://www.googleapis.com/auth/factchecktools
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 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`"]]