Method: pages.update
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी पेज पर मौजूद सभी ClaimReview
मार्कअप के लिए अपडेट
ध्यान दें कि यह पूरा अपडेट है. किसी पेज पर मौजूद ClaimReview
मार्कअप को बनाए रखने के लिए, पहले Get ऑपरेशन करें. इसके बाद, मिले हुए मार्कअप में बदलाव करें. आखिर में, पूरे ClaimReview
मार्कअप को बॉडी के तौर पर इस्तेमाल करके, Update को कॉल करें.
एचटीटीपी अनुरोध
PUT https://factchecktools.googleapis.com/v1alpha1/{claimReviewMarkupPage.name=pages/*}
यह यूआरएल, gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
claimReviewMarkupPage.name |
string
ClaimReview मार्कअप पेज रिसॉर्स का नाम, pages/{page_id} के तौर पर. अपडेट के अनुरोधों को छोड़कर, यह फ़ील्ड सिर्फ़ आउटपुट के लिए होता है. इसे उपयोगकर्ता को सेट नहीं करना चाहिए.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में ClaimReviewMarkupPage
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में ClaimReviewMarkupPage
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के स्कोप
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/factchecktools
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (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`"]]