OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/siteverification": { |
| 6 "description": "Manage the list of sites and domains you con
trol" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/siteverification.verify_only":
{ |
| 9 "description": "Manage your new site verifications with Goog
le" |
| 10 } |
| 11 } |
| 12 } |
| 13 }, |
| 14 "basePath": "/siteVerification/v1/", |
| 15 "baseUrl": "https://www.googleapis.com/siteVerification/v1/", |
| 16 "batchPath": "batch", |
| 17 "description": "Lets you programatically verify ownership of websites or dom
ains with Google.", |
| 18 "discoveryVersion": "v1", |
| 19 "documentationLink": "https://developers.google.com/site-verification/", |
| 20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/RwYHc_wr_RI-M8LU9rCXtGC2FOg\"", |
| 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, |
| 25 "id": "siteVerification:v1", |
| 26 "kind": "discovery#restDescription", |
| 27 "name": "siteVerification", |
| 28 "ownerDomain": "google.com", |
| 29 "ownerName": "Google", |
| 30 "parameters": { |
| 31 "alt": { |
| 32 "default": "json", |
| 33 "description": "Data format for the response.", |
| 34 "enum": [ |
| 35 "json" |
| 36 ], |
| 37 "enumDescriptions": [ |
| 38 "Responses with Content-Type of application/json" |
| 39 ], |
| 40 "location": "query", |
| 41 "type": "string" |
| 42 }, |
| 43 "fields": { |
| 44 "description": "Selector specifying which fields to include in a par
tial response.", |
| 45 "location": "query", |
| 46 "type": "string" |
| 47 }, |
| 48 "key": { |
| 49 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 50 "location": "query", |
| 51 "type": "string" |
| 52 }, |
| 53 "oauth_token": { |
| 54 "description": "OAuth 2.0 token for the current user.", |
| 55 "location": "query", |
| 56 "type": "string" |
| 57 }, |
| 58 "prettyPrint": { |
| 59 "default": "false", |
| 60 "description": "Returns response with indentations and line breaks."
, |
| 61 "location": "query", |
| 62 "type": "boolean" |
| 63 }, |
| 64 "quotaUser": { |
| 65 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters. Overrides userIp if both are provided.", |
| 66 "location": "query", |
| 67 "type": "string" |
| 68 }, |
| 69 "userIp": { |
| 70 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 71 "location": "query", |
| 72 "type": "string" |
| 73 } |
| 74 }, |
| 75 "protocol": "rest", |
| 76 "resources": { |
| 77 "webResource": { |
| 78 "methods": { |
| 79 "delete": { |
| 80 "description": "Relinquish ownership of a website or domain.
", |
| 81 "httpMethod": "DELETE", |
| 82 "id": "siteVerification.webResource.delete", |
| 83 "parameterOrder": [ |
| 84 "id" |
| 85 ], |
| 86 "parameters": { |
| 87 "id": { |
| 88 "description": "The id of a verified site or domain.
", |
| 89 "location": "path", |
| 90 "required": true, |
| 91 "type": "string" |
| 92 } |
| 93 }, |
| 94 "path": "webResource/{id}", |
| 95 "scopes": [ |
| 96 "https://www.googleapis.com/auth/siteverification" |
| 97 ] |
| 98 }, |
| 99 "get": { |
| 100 "description": "Get the most current data for a website or d
omain.", |
| 101 "httpMethod": "GET", |
| 102 "id": "siteVerification.webResource.get", |
| 103 "parameterOrder": [ |
| 104 "id" |
| 105 ], |
| 106 "parameters": { |
| 107 "id": { |
| 108 "description": "The id of a verified site or domain.
", |
| 109 "location": "path", |
| 110 "required": true, |
| 111 "type": "string" |
| 112 } |
| 113 }, |
| 114 "path": "webResource/{id}", |
| 115 "response": { |
| 116 "$ref": "SiteVerificationWebResourceResource" |
| 117 }, |
| 118 "scopes": [ |
| 119 "https://www.googleapis.com/auth/siteverification" |
| 120 ] |
| 121 }, |
| 122 "getToken": { |
| 123 "description": "Get a verification token for placing on a we
bsite or domain.", |
| 124 "httpMethod": "POST", |
| 125 "id": "siteVerification.webResource.getToken", |
| 126 "path": "token", |
| 127 "request": { |
| 128 "$ref": "SiteVerificationWebResourceGettokenRequest" |
| 129 }, |
| 130 "response": { |
| 131 "$ref": "SiteVerificationWebResourceGettokenResponse" |
| 132 }, |
| 133 "scopes": [ |
| 134 "https://www.googleapis.com/auth/siteverification", |
| 135 "https://www.googleapis.com/auth/siteverification.verify
_only" |
| 136 ] |
| 137 }, |
| 138 "insert": { |
| 139 "description": "Attempt verification of a website or domain.
", |
| 140 "httpMethod": "POST", |
| 141 "id": "siteVerification.webResource.insert", |
| 142 "parameterOrder": [ |
| 143 "verificationMethod" |
| 144 ], |
| 145 "parameters": { |
| 146 "verificationMethod": { |
| 147 "description": "The method to use for verifying a si
te or domain.", |
| 148 "location": "query", |
| 149 "required": true, |
| 150 "type": "string" |
| 151 } |
| 152 }, |
| 153 "path": "webResource", |
| 154 "request": { |
| 155 "$ref": "SiteVerificationWebResourceResource" |
| 156 }, |
| 157 "response": { |
| 158 "$ref": "SiteVerificationWebResourceResource" |
| 159 }, |
| 160 "scopes": [ |
| 161 "https://www.googleapis.com/auth/siteverification", |
| 162 "https://www.googleapis.com/auth/siteverification.verify
_only" |
| 163 ] |
| 164 }, |
| 165 "list": { |
| 166 "description": "Get the list of your verified websites and d
omains.", |
| 167 "httpMethod": "GET", |
| 168 "id": "siteVerification.webResource.list", |
| 169 "path": "webResource", |
| 170 "response": { |
| 171 "$ref": "SiteVerificationWebResourceListResponse" |
| 172 }, |
| 173 "scopes": [ |
| 174 "https://www.googleapis.com/auth/siteverification" |
| 175 ] |
| 176 }, |
| 177 "patch": { |
| 178 "description": "Modify the list of owners for your website o
r domain. This method supports patch semantics.", |
| 179 "httpMethod": "PATCH", |
| 180 "id": "siteVerification.webResource.patch", |
| 181 "parameterOrder": [ |
| 182 "id" |
| 183 ], |
| 184 "parameters": { |
| 185 "id": { |
| 186 "description": "The id of a verified site or domain.
", |
| 187 "location": "path", |
| 188 "required": true, |
| 189 "type": "string" |
| 190 } |
| 191 }, |
| 192 "path": "webResource/{id}", |
| 193 "request": { |
| 194 "$ref": "SiteVerificationWebResourceResource" |
| 195 }, |
| 196 "response": { |
| 197 "$ref": "SiteVerificationWebResourceResource" |
| 198 }, |
| 199 "scopes": [ |
| 200 "https://www.googleapis.com/auth/siteverification" |
| 201 ] |
| 202 }, |
| 203 "update": { |
| 204 "description": "Modify the list of owners for your website o
r domain.", |
| 205 "httpMethod": "PUT", |
| 206 "id": "siteVerification.webResource.update", |
| 207 "parameterOrder": [ |
| 208 "id" |
| 209 ], |
| 210 "parameters": { |
| 211 "id": { |
| 212 "description": "The id of a verified site or domain.
", |
| 213 "location": "path", |
| 214 "required": true, |
| 215 "type": "string" |
| 216 } |
| 217 }, |
| 218 "path": "webResource/{id}", |
| 219 "request": { |
| 220 "$ref": "SiteVerificationWebResourceResource" |
| 221 }, |
| 222 "response": { |
| 223 "$ref": "SiteVerificationWebResourceResource" |
| 224 }, |
| 225 "scopes": [ |
| 226 "https://www.googleapis.com/auth/siteverification" |
| 227 ] |
| 228 } |
| 229 } |
| 230 } |
| 231 }, |
| 232 "revision": "20131007", |
| 233 "rootUrl": "https://www.googleapis.com/", |
| 234 "schemas": { |
| 235 "SiteVerificationWebResourceGettokenRequest": { |
| 236 "id": "SiteVerificationWebResourceGettokenRequest", |
| 237 "properties": { |
| 238 "site": { |
| 239 "description": "The site for which a verification token will
be generated.", |
| 240 "properties": { |
| 241 "identifier": { |
| 242 "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 sit
e identifier is a domain name.", |
| 243 "type": "string" |
| 244 }, |
| 245 "type": { |
| 246 "description": "The type of resource to be verified.
Can be SITE or INET_DOMAIN (domain name).", |
| 247 "type": "string" |
| 248 } |
| 249 }, |
| 250 "type": "object" |
| 251 }, |
| 252 "verificationMethod": { |
| 253 "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.", |
| 254 "type": "string" |
| 255 } |
| 256 }, |
| 257 "type": "object" |
| 258 }, |
| 259 "SiteVerificationWebResourceGettokenResponse": { |
| 260 "id": "SiteVerificationWebResourceGettokenResponse", |
| 261 "properties": { |
| 262 "method": { |
| 263 "description": "The verification method to use in conjunctio
n with this token. For FILE, the token should be placed in the top-level directo
ry of the site, stored inside a file of the same name. For META, the token shoul
d 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.", |
| 264 "type": "string" |
| 265 }, |
| 266 "token": { |
| 267 "description": "The verification token. The token must be pl
aced appropriately in order for verification to succeed.", |
| 268 "type": "string" |
| 269 } |
| 270 }, |
| 271 "type": "object" |
| 272 }, |
| 273 "SiteVerificationWebResourceListResponse": { |
| 274 "id": "SiteVerificationWebResourceListResponse", |
| 275 "properties": { |
| 276 "items": { |
| 277 "description": "The list of sites that are owned by the auth
enticated user.", |
| 278 "items": { |
| 279 "$ref": "SiteVerificationWebResourceResource" |
| 280 }, |
| 281 "type": "array" |
| 282 } |
| 283 }, |
| 284 "type": "object" |
| 285 }, |
| 286 "SiteVerificationWebResourceResource": { |
| 287 "id": "SiteVerificationWebResourceResource", |
| 288 "properties": { |
| 289 "id": { |
| 290 "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.", |
| 291 "type": "string" |
| 292 }, |
| 293 "owners": { |
| 294 "description": "The email addresses of all verified owners."
, |
| 295 "items": { |
| 296 "type": "string" |
| 297 }, |
| 298 "type": "array" |
| 299 }, |
| 300 "site": { |
| 301 "description": "The address and type of a site that is verif
ied or will be verified.", |
| 302 "properties": { |
| 303 "identifier": { |
| 304 "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 sit
e identifier is a domain name.", |
| 305 "type": "string" |
| 306 }, |
| 307 "type": { |
| 308 "description": "The site type. Can be SITE or INET_D
OMAIN (domain name).", |
| 309 "type": "string" |
| 310 } |
| 311 }, |
| 312 "type": "object" |
| 313 } |
| 314 }, |
| 315 "type": "object" |
| 316 } |
| 317 }, |
| 318 "servicePath": "siteVerification/v1/", |
| 319 "title": "Google Site Verification API", |
| 320 "version": "v1" |
| 321 } |
OLD | NEW |