Google Site Verification API

WebResource

A WebResource is a representation of a verified website or domain.

It contains the canonical ID of a site or domain, the URL or domain name, and a list of owners. Note that the owners list always includes the authenticated user, because the only people who can access a WebResource are authenticated users who are owners of that site or domain.

Methods

Use the insert method to verify the authenticated user's ownership of a website or domain. Use the getupdateand delete methods to retrieve or modify a resource that has already been verified for the authenticated user.

You can see all verified resources for the authenticated user with list, and you can get a token to place on the authenticated user's site with getToken.

getToken
Gets a verification token for the authenticated user to place on a website or domain.
insert
Verifies ownership of a website or domain.
list
Gets the list of the authenticated user's verified websites and domains.
get
Retrieves the most current data for a website or domain.
update
Modifies the list of owners for a website or domain.
delete
Unverifies the user's ownership of a website or domain.

Resource Representations

{
  "id": string,
  "site": {
    "type": string,
    "identifier": string
  },
  "owners": [
    string
  ]
}
Property Name Value Description Notes
id string  The string used to identify this site. This value should be used in the id portion of the REST URL for the get, update, and delete operations.
site object Container for the address and type of a site that is verified or will be verified.
site.type string The site type. Can be SITE or INET_DOMAIN (domain name).
site.identifier string The site identifier, which takes different forms depending on the value of the type property. If the type is set to SITE, then the identifier is a URL. If the type is set to INET_DOMAIN, then the identifier is a domain name.
owners[] list The email addresses of all verified owners.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.