इससे किसी वेबसाइट या डोमेन के मालिकाना हक की पुष्टि होती है.
इसे अभी आज़माएं.
insert को कॉल करने से पहले, पुष्टि किए गए उपयोगकर्ता की वेबसाइट या डोमेन पर, पुष्टि करने के लिए इस्तेमाल होने वाला टोकन लगाएं. insert को कॉल करने पर, Google की साइट पुष्टि करने वाली सेवा, वेबसाइट या डोमेन की क्वेरी करती है और टोकन ढूंढती है.
अगर Google को वेबसाइट या डोमेन पर उपयोगकर्ता का टोकन मिलता है, तो वह साइट को 'पुष्टि हो चुकी है' के तौर पर रिकॉर्ड करता है.पुष्टि किया गया उपयोगकर्ता मालिकाना हक भी सौंप सकता है; अनुरोध के मुख्य हिस्से में, owners फ़ील्ड में आपने जो भी ईमेल पते दिए हैं उन्हें पुष्टि की गई साइट के मालिकों के तौर पर भी रिकॉर्ड किया जाता है.
verificationMethod क्वेरी पैरामीटर से पुष्टि वाला टोकन टाइप तय होता है, जिसकी जांच Google को करनी चाहिए.verificationMethod की वैल्यू, getToken को पहले भेजी गई वैल्यू से मेल खानी चाहिए.
अनुरोध
एचटीटीपी अनुरोध
POST https://www.googleapis.com/siteVerification/v1/webResource?verificationMethod=method
पैरामीटर
पैरामीटर का नाम
मान
ब्यौरा
ज़रूरी क्वेरी पैरामीटर
verificationMethod
string
किसी साइट या डोमेन की पुष्टि करने के लिए इस्तेमाल किया जाने वाला तरीका.
अगर यह तरीका सही से काम करता है, तो जवाब के मुख्य हिस्से में यह WebResource संसाधन दिखाता है.
इसे आज़माएं!
लाइव डेटा पर इस तरीके को कॉल करने और जवाब देखने के लिए, नीचे दिए गए एपीआई एक्सप्लोरर का इस्तेमाल करें.
वैकल्पिक रूप से, यह आज़माएं
स्टैंडअलोन
एक्सप्लोरर.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-08-23 (UTC) को अपडेट किया गया."],[[["The Site Verification API allows you to programmatically verify ownership of a website or domain using a verification token."],["Before verification, you need to place a verification token on your website, obtained via the `getToken` method."],["The API confirms ownership by checking for the token and records verified owners, including delegated ones."],["This process requires authorization with specific scopes related to site verification."],["A successful verification returns a WebResource resource, confirming the site or domain ownership."]]],["To verify website ownership, place the user's verification token, obtained via `getToken`, on the site. Send a POST request to `/site-verification/v1/webResource/insert` with the `verificationMethod` query parameter matching the token type. Google's service checks for the token and records the site as verified if found. You can also specify additional owners in the request body. Ownership is stored and visible to all current and future owners. This request requires authorization with specified scopes.\n"]]