WebResource: get
Requires authorization
Retrieves the most current data for a website or domain.
Try it now.
Only sites that are owned directly or indirectly by the authenticated user can be retrieved using this method. "Indirect" ownership is the verified ownership of a parent (at any level) of a site. For example, the owner of example.com is the direct owner of example.com and an indirect owner of both monkeys.example.com and bonobo.monkeys.example.com.
Request
HTTP request
GET https://www.googleapis.com/siteVerification/v1/webResource/id
Parameters
Parameter name |
Value |
Description |
Path parameters |
id |
string |
The ID of a verified site or domain.
|
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.
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."],[[["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"]]