WebResource: list
Stay organized with collections
Save and categorize content based on your preferences.
Requires authorization
Gets the list of the authenticated user's verified websites and domains.
Try it now.
Only sites that are owned by the authenticated user are returned.
Request
HTTP request
GET https://www.googleapis.com/siteVerification/v1/webResource
Authorization
This request requires authorization with the following scope (read more about authentication and authorization).
Scope |
https://www.googleapis.com/auth/siteverification |
Request body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{
"items": [
webResource Resource
]
}
Property name |
Value |
Description |
Notes |
items[] |
list |
The list of sites that are owned by the authenticated user. |
|
Try it!
Use the APIs Explorer below to call this method on live data and see the response.
Alternatively, try the
standalone
Explorer.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-11 UTC.
[null,null,["Last updated 2024-06-11 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)."]]