Sites: get
अनुमति देना ज़रूरी है
किसी खास साइट के बारे में जानकारी हासिल करता है.
इसे अभी आज़माएं.
अनुरोध
एचटीटीपी अनुरोध
GET https://www.googleapis.com/webmasters/v3/sites/siteUrl
पैरामीटर
पैरामीटर का नाम |
मान |
ब्यौरा |
पाथ पैरामीटर |
siteUrl |
string |
Search Console की ओर से तय की गई प्रॉपर्टी का वह यूआरएल जिसे वापस पाना है. उदाहरणः
http://www.example.com/ (यूआरएल-प्रीफ़िक्स प्रॉपर्टी के लिए) या
sc-domain:example.com (डोमेन प्रॉपर्टी के लिए)
|
अनुमति देना
इस अनुरोध के लिए, इनमें से कम से कम एक दायरे का इस्तेमाल करके अनुमति लेना ज़रूरी है (पुष्टि करने और अनुमति देने के बारे में ज़्यादा पढ़ें).
दायरा |
https://www.googleapis.com/auth/webmasters.readonly |
https://www.googleapis.com/auth/webmasters |
अनुरोध का मुख्य भाग
इस तरीके के साथ अनुरोध का मुख्य हिस्सा न दें.
जवाब
अगर इस तरीके से पुष्टि हो जाती है, तो जवाब के मुख्य हिस्से में यह Sites का संसाधन दिखाता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-24 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-24 (UTC) को अपडेट किया गया."],[[["Retrieves information for a specific website using its URL."],["Requires authorization with `webmasters.readonly` or `webmasters` scope."],["Uses a `GET` request to the `/webmasters/v3/sites/siteUrl` endpoint."],["Returns a `Sites` resource with details about the specified website upon success."],["The `siteUrl` parameter accepts the URL or domain of the site for retrieval."]]],["This resource allows retrieving information about a specific site using its URL. The request is a `GET` method to the specified endpoint, requiring the `siteUrl` as a path parameter. The `siteUrl` can be either a URL-prefix (e.g., `http://www.example.com/`) or a domain property (e.g., `sc-domain:example.com`). Authorization is necessary, using either `webmasters.readonly` or `webmasters` scopes. No request body is needed; a successful response returns a `Sites` resource.\n"]]