Sites: get
يتطلّب تفويضًا
لاسترداد المعلومات حول موقع إلكتروني معيّن.
تجربة ذلك الآن
الطلب
طلب HTTP
GET https://www.googleapis.com/webmasters/v3/sites/siteUrl
المعلمات
اسم المعلَمة |
القيمة |
الوصف |
مَعلمات المسار |
siteUrl |
string |
هو عنوان URL للموقع الإلكتروني المطلوب استرداده، كما هو محدّد في Search Console. أمثلة:
http://www.example.com/ (لموقع إلكتروني يحمل بادئة عنوان URL) أو
sc-domain:example.com (لموقع إلكتروني في النطاق)
|
التفويض
يتطلب هذا الطلب تفويضًا باستخدام نطاق واحد على الأقل من النطاقات التالية (مزيد من المعلومات عن المصادقة والتفويض).
النطاق |
https://www.googleapis.com/auth/webmasters.readonly |
https://www.googleapis.com/auth/webmasters |
نص الطلب
لا تقدِّم نص طلب باستخدام هذه الطريقة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-08-24 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-08-24 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]