API Reference
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस एपीआई का रेफ़रंस, संसाधन टाइप के हिसाब से व्यवस्थित किया गया है. हर तरह के संसाधन में एक या उससे ज़्यादा डेटा के साथ एक या एक से ज़्यादा तरीके होते हैं.
वेबसंसाधन
वेबसंसाधन संसाधन की जानकारी के लिए, संसाधन प्रतिनिधित्व पेज देखें.
तरीका |
एचटीटीपी अनुरोध |
ब्यौरा |
https://www.googleapis.com/siteVerify/v1 के मुकाबले यूआरआई, जब तक कि अलग से जानकारी न दी गई हो |
मिटाएं
|
DELETE /webResource/id
|
यह किसी वेबसाइट या डोमेन के उपयोगकर्ता के मालिकाना हक की पुष्टि नहीं करता है.
|
पाएं
|
GET /webResource/id
|
किसी वेबसाइट या डोमेन के लिए सबसे नया डेटा वापस लाता है.
|
getToken
|
POST /token
|
पुष्टि किए गए उपयोगकर्ता को किसी वेबसाइट या डोमेन पर रखने के लिए, पुष्टि वाला टोकन मिलता है.
|
शामिल करें
|
POST /webResource?verificationMethod=method
|
किसी वेबसाइट या डोमेन के मालिकाना हक की पुष्टि करता है.
ज़रूरी क्वेरी पैरामीटर:
verificationMethod |
list
|
GET /webResource
|
इससे पुष्टि किए गए उपयोगकर्ता की वेबसाइट और डोमेन की सूची मिलती है.
|
अपडेट करें
|
PUT /webResource/id
|
किसी वेबसाइट या डोमेन के लिए मालिकों की सूची में बदलाव करता है.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-08-16 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-08-16 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThis API reference is structured around resource types, each with their own data representations and methods.\u003c/p\u003e\n"],["\u003cp\u003eThe WebResource resource allows you to manage website and domain ownership verification through methods like \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003einsert\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eupdate\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003egetToken\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve, verify, unverify, and modify website or domain ownership, as well as list verified sites and obtain verification tokens.\u003c/p\u003e\n"],["\u003cp\u003eAll URIs are relative to \u003ccode\u003ehttps://www.googleapis.com/siteVerification/v1\u003c/code\u003e unless specified otherwise.\u003c/p\u003e\n"]]],["The API manages WebResources, which represent websites or domains. Key actions include: `delete` to unverify ownership; `get` to retrieve current data; `getToken` to get a verification token; `insert` to verify ownership, requiring a `verificationMethod`; `list` to retrieve a list of verified sites; and `update` to modify the owner list. These actions use `DELETE`, `GET`, `POST`, and `PUT` HTTP methods against `/webResource/` or `/token` endpoints. Each resource has its data representation and methods.\n"],null,["# API Reference\n\nThis API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.\n\nWebResource\n-----------\n\nFor WebResource Resource details, see the [resource representation](/site-verification/v1/webResource#resource) page.\n\n| Method | HTTP request | Description |\n|--------------------------------------------------------|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| URIs relative to https://www.googleapis.com/siteVerification/v1, unless otherwise noted |||\n| [delete](/site-verification/v1/webResource/delete) | `DELETE /webResource/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eid\u003c/var\u003e | Unverifies the user's ownership of a website or domain. |\n| [get](/site-verification/v1/webResource/get) | `GET /webResource/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eid\u003c/var\u003e | Retrieves the most current data for a website or domain. |\n| [getToken](/site-verification/v1/webResource/getToken) | `POST /token` | Gets a verification token for the authenticated user to place on a website or domain. |\n| [insert](/site-verification/v1/webResource/insert) | `POST /webResource?verificationMethod=`\u003cvar class=\"apiparam\" translate=\"no\"\u003emethod\u003c/var\u003e | Verifies ownership of a website or domain. \u003cbr /\u003e **Required query parameters:** `verificationMethod` |\n| [list](/site-verification/v1/webResource/list) | `GET /webResource` | Gets the list of the authenticated user's verified websites and domains. |\n| [update](/site-verification/v1/webResource/update) | `PUT /webResource/`\u003cvar class=\"apiparam\" translate=\"no\"\u003eid\u003c/var\u003e | Modifies the list of owners for a website or domain. |"]]