WebResource: list
Wymaga autoryzacji
Pobiera listę zweryfikowanych witryn i domen uwierzytelnionego użytkownika.
Wypróbuj
Zwracane są tylko witryny należące do uwierzytelnionego użytkownika.
Żądanie
Żądanie HTTP
GET https://www.googleapis.com/siteVerification/v1/webResource
Autoryzacja
To żądanie wymaga autoryzacji w ramach tego zakresu (więcej informacji o uwierzytelnianiu i autoryzacji).
Zakres |
https://www.googleapis.com/auth/siteverification |
Treść żądania
Nie podawaj treści żądania przy użyciu tej metody.
Odpowiedź
Jeśli operacja się uda, metoda zwróci odpowiedź o następującej strukturze:
{
"items": [
webResource Resource
]
}
Nazwa usługi |
Wartość |
Opis |
Uwagi |
items[] |
list |
Lista witryn, które należą do uwierzytelnionego użytkownika. |
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-09-09 UTC.
[null,null,["Ostatnia aktualizacja: 2024-09-09 UTC."],[[["Retrieves a list of verified websites and domains owned by the authenticated user."],["Requires authorization with the `https://www.googleapis.com/auth/siteverification` scope."],["The response includes an array of `webResource` objects representing the user's verified sites."],["Only sites owned by the authenticated user are returned in the response."]]],["This API endpoint retrieves a list of websites and domains verified by the authenticated user. It requires authorization with the `https://www.googleapis.com/auth/siteverification` scope. A `GET` request is sent to `https://www.googleapis.com/siteVerification/v1/webResource` without a request body. Upon success, the response body contains an array called \"items\", listing the web resources owned by the user. The endpoint does not permit the user to send any request body.\n"]]