WebResource: list
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Autorisierung erforderlich
Ruft die Liste der bestätigten Websites und Domains des authentifizierten Nutzers ab.
Jetzt testen
Es werden nur Websites zurückgegeben, die dem authentifizierten Nutzer gehören.
Anfrage
HTTP-Anfrage
GET https://www.googleapis.com/siteVerification/v1/webResource
Autorisierung
Für diese Anfrage ist eine Autorisierung in folgendem Bereich erforderlich. Weitere Informationen zur Authentifizierung und Autorisierung
Umfang |
https://www.googleapis.com/auth/siteverification |
Anfragetext
Mit dieser Methode keinen Anfragetext bereitstellen.
Antwort
Bei Erfolg gibt diese Methode einen Antworttext mit der folgenden Struktur zurück:
{
"items": [
webResource Resource
]
}
Name der Eigenschaft |
Wert |
Beschreibung |
Hinweise |
items[] |
list |
Die Liste der Websites, die dem authentifizierten Nutzer gehören. |
|
Testen!
Verwenden Sie den unten angegebenen APIs Explorer, um diese Methode für Livedaten aufzurufen und die Antwort einzusehen.
Alternativ können Sie den
eigenständig
Explorer:
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["\u003cp\u003eRetrieves a list of verified websites and domains owned by the authenticated user.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/siteverification\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of \u003ccode\u003ewebResource\u003c/code\u003e objects representing the user's verified sites.\u003c/p\u003e\n"],["\u003cp\u003eOnly sites owned by the authenticated user are returned in the response.\u003c/p\u003e\n"]]],["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"],null,["# WebResource: list\n\n**Requires [authorization](#auth)**\n\nGets the list of the authenticated user's verified websites and domains.\n[Try it now](#try-it).\n\nOnly sites that are owned by the authenticated user are returned.\n\nRequest\n-------\n\n### HTTP request\n\n```\nGET https://www.googleapis.com/siteVerification/v1/webResource\n```\n\n### Authorization\n\nThis request requires authorization with the following scope ([read more about authentication and authorization](/site-verification/v1/getting_started#auth)).\n\n| Scope |\n|----------------------------------------------------|\n| `https://www.googleapis.com/auth/siteverification` |\n\n### Request body\n\nDo not supply a request body with this method.\n\nResponse\n--------\n\nIf successful, this method returns a response body with the following structure:\n\n```objective-c\n{\n \"items\": [\n webResource Resource\n ]\n}\n```\n\n| Property name | Value | Description | Notes |\n|---------------|--------|-------------------------------------------------------------|-------|\n| `items[]` | `list` | The list of sites that are owned by the authenticated user. | |\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/siteVerification/v1/siteVerification.webResource.list)."]]