WebResource: get
يتطلّب تفويضًا
لاسترداد أحدث البيانات لموقع إلكتروني أو نطاق.
تجربة ذلك الآن
يمكن استرداد المواقع الإلكترونية التي يملكها المستخدم الذي تمت مصادقته بشكل مباشر أو غير مباشر فقط باستخدام هذه الطريقة. "غير مباشر" الملكية هي الملكية التي تم إثباتها لأحد الوالدين (على أي مستوى) لموقع إلكتروني. على سبيل المثال، يكون مالك example.com هو المالك المباشر للموقع الإلكتروني example.com ومالكًا غير مباشر لكل من monkeys.example.com وbonobo.monkeys.example.com.
الطلب
طلب HTTP
GET https://www.googleapis.com/siteVerification/v1/webResource/id
المعلمات
اسم المعلَمة |
القيمة |
الوصف |
مَعلمات المسار |
id |
string |
رقم تعريف موقع أو نطاق تم إثبات ملكيته.
|
التفويض
يتطلب هذا الطلب تفويضًا بالنطاق التالي (مزيد من المعلومات عن المصادقة والترخيص).
النطاق |
https://www.googleapis.com/auth/siteverification |
نص الطلب
لا تقدِّم نص طلب باستخدام هذه الطريقة.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-09-09 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-09-09 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Retrieves the latest data for a website or domain owned directly or indirectly by the authenticated user."],["Only authorized users with the `https://www.googleapis.com/auth/siteverification` scope can access this method to retrieve data."],["The request is made using an HTTP GET request to a specific URL, providing the ID of the verified site or domain."],["The response, if successful, will contain a WebResource resource providing information about the site or domain."]]],["This outlines how to retrieve current data for a verified website or domain using a GET request to the specified API endpoint. The request requires authorization with the `https://www.googleapis.com/auth/siteverification` scope and must target a site directly or indirectly owned by the authenticated user. The request uses a path parameter `id` (a string) representing the site's ID. A successful response returns a WebResource resource; no request body is needed.\n"]]