WebResource: get

  • 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.

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.

Response

If successful, this method returns a WebResource resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.