| { |
| "title": "Google Site Verification API", |
| "basePath": "/siteVerification/v1/", |
| "resources": { |
| "webResource": { |
| "methods": { |
| "list": { |
| "httpMethod": "GET", |
| "path": "webResource", |
| "description": "Get the list of your verified websites and domains.", |
| "id": "siteVerification.webResource.list", |
| "response": { |
| "$ref": "SiteVerificationWebResourceListResponse" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification" |
| ] |
| }, |
| "update": { |
| "parameters": { |
| "id": { |
| "location": "path", |
| "type": "string", |
| "description": "The id of a verified site or domain.", |
| "required": true |
| } |
| }, |
| "description": "Modify the list of owners for your website or domain.", |
| "parameterOrder": [ |
| "id" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification" |
| ], |
| "httpMethod": "PUT", |
| "path": "webResource/{id}", |
| "request": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "response": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "id": "siteVerification.webResource.update" |
| }, |
| "delete": { |
| "parameters": { |
| "id": { |
| "description": "The id of a verified site or domain.", |
| "required": true, |
| "type": "string", |
| "location": "path" |
| } |
| }, |
| "id": "siteVerification.webResource.delete", |
| "parameterOrder": [ |
| "id" |
| ], |
| "httpMethod": "DELETE", |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification" |
| ], |
| "path": "webResource/{id}", |
| "description": "Relinquish ownership of a website or domain." |
| }, |
| "get": { |
| "parameters": { |
| "id": { |
| "description": "The id of a verified site or domain.", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| } |
| }, |
| "httpMethod": "GET", |
| "path": "webResource/{id}", |
| "id": "siteVerification.webResource.get", |
| "parameterOrder": [ |
| "id" |
| ], |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification" |
| ], |
| "response": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "description": "Get the most current data for a website or domain." |
| }, |
| "patch": { |
| "httpMethod": "PATCH", |
| "path": "webResource/{id}", |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification" |
| ], |
| "id": "siteVerification.webResource.patch", |
| "request": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "parameterOrder": [ |
| "id" |
| ], |
| "response": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "description": "Modify the list of owners for your website or domain. This method supports patch semantics.", |
| "parameters": { |
| "id": { |
| "description": "The id of a verified site or domain.", |
| "type": "string", |
| "required": true, |
| "location": "path" |
| } |
| } |
| }, |
| "getToken": { |
| "path": "token", |
| "id": "siteVerification.webResource.getToken", |
| "description": "Get a verification token for placing on a website or domain.", |
| "response": { |
| "$ref": "SiteVerificationWebResourceGettokenResponse" |
| }, |
| "httpMethod": "POST", |
| "request": { |
| "$ref": "SiteVerificationWebResourceGettokenRequest" |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification", |
| "https://www.googleapis.com/auth/siteverification.verify_only" |
| ] |
| }, |
| "insert": { |
| "path": "webResource", |
| "description": "Attempt verification of a website or domain.", |
| "httpMethod": "POST", |
| "parameters": { |
| "verificationMethod": { |
| "required": true, |
| "location": "query", |
| "type": "string", |
| "description": "The method to use for verifying a site or domain." |
| } |
| }, |
| "scopes": [ |
| "https://www.googleapis.com/auth/siteverification", |
| "https://www.googleapis.com/auth/siteverification.verify_only" |
| ], |
| "parameterOrder": [ |
| "verificationMethod" |
| ], |
| "request": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "response": { |
| "$ref": "SiteVerificationWebResourceResource" |
| }, |
| "id": "siteVerification.webResource.insert" |
| } |
| } |
| } |
| }, |
| "description": "Verifies ownership of websites or domains with Google.", |
| "icons": { |
| "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png", |
| "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png" |
| }, |
| "kind": "discovery#restDescription", |
| "servicePath": "siteVerification/v1/", |
| "protocol": "rest", |
| "ownerName": "Google", |
| "rootUrl": "https://www.googleapis.com/", |
| "batchPath": "batch/siteVerification/v1", |
| "documentationLink": "https://developers.google.com/site-verification/", |
| "revision": "20191119", |
| "name": "siteVerification", |
| "ownerDomain": "google.com", |
| "baseUrl": "https://www.googleapis.com/siteVerification/v1/", |
| "discoveryVersion": "v1", |
| "schemas": { |
| "SiteVerificationWebResourceResource": { |
| "id": "SiteVerificationWebResourceResource", |
| "type": "object", |
| "properties": { |
| "site": { |
| "properties": { |
| "type": { |
| "type": "string", |
| "description": "The site type. Can be SITE or INET_DOMAIN (domain name)." |
| }, |
| "identifier": { |
| "type": "string", |
| "description": "The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name." |
| } |
| }, |
| "type": "object", |
| "description": "The address and type of a site that is verified or will be verified." |
| }, |
| "owners": { |
| "items": { |
| "type": "string" |
| }, |
| "description": "The email addresses of all verified owners.", |
| "type": "array" |
| }, |
| "id": { |
| "type": "string", |
| "description": "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." |
| } |
| } |
| }, |
| "SiteVerificationWebResourceGettokenRequest": { |
| "type": "object", |
| "id": "SiteVerificationWebResourceGettokenRequest", |
| "properties": { |
| "verificationMethod": { |
| "description": "The verification method that will be used to verify this site. For sites, 'FILE' or 'META' methods may be used. For domains, only 'DNS' may be used.", |
| "type": "string" |
| }, |
| "site": { |
| "properties": { |
| "type": { |
| "description": "The type of resource to be verified. Can be SITE or INET_DOMAIN (domain name).", |
| "type": "string" |
| }, |
| "identifier": { |
| "description": "The site identifier. If the type is set to SITE, the identifier is a URL. If the type is set to INET_DOMAIN, the site identifier is a domain name.", |
| "type": "string" |
| } |
| }, |
| "type": "object", |
| "description": "The site for which a verification token will be generated." |
| } |
| } |
| }, |
| "SiteVerificationWebResourceListResponse": { |
| "type": "object", |
| "properties": { |
| "items": { |
| "type": "array", |
| "description": "The list of sites that are owned by the authenticated user.", |
| "items": { |
| "$ref": "SiteVerificationWebResourceResource" |
| } |
| } |
| }, |
| "id": "SiteVerificationWebResourceListResponse" |
| }, |
| "SiteVerificationWebResourceGettokenResponse": { |
| "type": "object", |
| "properties": { |
| "method": { |
| "type": "string", |
| "description": "The verification method to use in conjunction with this token. For FILE, the token should be placed in the top-level directory of the site, stored inside a file of the same name. For META, the token should be placed in the HEAD tag of the default page that is loaded for the site. For DNS, the token should be placed in a TXT record of the domain." |
| }, |
| "token": { |
| "type": "string", |
| "description": "The verification token. The token must be placed appropriately in order for verification to succeed." |
| } |
| }, |
| "id": "SiteVerificationWebResourceGettokenResponse" |
| } |
| }, |
| "parameters": { |
| "alt": { |
| "description": "Data format for the response.", |
| "type": "string", |
| "enum": [ |
| "json" |
| ], |
| "location": "query", |
| "default": "json", |
| "enumDescriptions": [ |
| "Responses with Content-Type of application/json" |
| ] |
| }, |
| "oauth_token": { |
| "location": "query", |
| "description": "OAuth 2.0 token for the current user.", |
| "type": "string" |
| }, |
| "key": { |
| "location": "query", |
| "type": "string", |
| "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token." |
| }, |
| "fields": { |
| "description": "Selector specifying which fields to include in a partial response.", |
| "type": "string", |
| "location": "query" |
| }, |
| "prettyPrint": { |
| "description": "Returns response with indentations and line breaks.", |
| "default": "false", |
| "location": "query", |
| "type": "boolean" |
| }, |
| "quotaUser": { |
| "type": "string", |
| "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.", |
| "location": "query" |
| }, |
| "userIp": { |
| "type": "string", |
| "location": "query", |
| "description": "Deprecated. Please use quotaUser instead." |
| } |
| }, |
| "auth": { |
| "oauth2": { |
| "scopes": { |
| "https://www.googleapis.com/auth/siteverification": { |
| "description": "Manage the list of sites and domains you control" |
| }, |
| "https://www.googleapis.com/auth/siteverification.verify_only": { |
| "description": "Manage your new site verifications with Google" |
| } |
| } |
| } |
| }, |
| "id": "siteVerification:v1", |
| "etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/ffKkQHIfwnRAzOSRWAT_SYBS6HY\"", |
| "version": "v1" |
| } |