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 |
גוף הבקשה
אל תספקו גוף בקשה בשיטה הזו.
תשובה
אם הפעולה בוצעה ללא שגיאות, השיטה הזו מחזירה משאב WebResource בגוף התגובה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-09 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-09 (שעון UTC)."],[[["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"]]