OLD | NEW |
1 { | 1 { |
2 "basePath": "", | 2 "basePath": "", |
3 "baseUrl": "https://searchconsole.googleapis.com/", | 3 "baseUrl": "https://searchconsole.googleapis.com/", |
4 "batchPath": "batch", | 4 "batchPath": "batch", |
5 "canonicalName": "Search Console", | 5 "canonicalName": "Search Console", |
6 "description": "Provides tools for running validation tests against single U
RLs", | 6 "description": "Provides tools for running validation tests against single U
RLs", |
7 "discoveryVersion": "v1", | 7 "discoveryVersion": "v1", |
8 "documentationLink": "https://developers.google.com/webmaster-tools/search-c
onsole-api/", | 8 "documentationLink": "https://developers.google.com/webmaster-tools/search-c
onsole-api/", |
9 "icons": { | 9 "icons": { |
10 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 10 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
11 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 11 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
12 }, | 12 }, |
13 "id": "searchconsole:v1", | 13 "id": "searchconsole:v1", |
14 "kind": "discovery#restDescription", | 14 "kind": "discovery#restDescription", |
15 "name": "searchconsole", | 15 "name": "searchconsole", |
16 "ownerDomain": "google.com", | 16 "ownerDomain": "google.com", |
17 "ownerName": "Google", | 17 "ownerName": "Google", |
18 "parameters": { | 18 "parameters": { |
| 19 "quotaUser": { |
| 20 "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.", |
| 21 "location": "query", |
| 22 "type": "string" |
| 23 }, |
| 24 "pp": { |
| 25 "default": "true", |
| 26 "description": "Pretty-print response.", |
| 27 "location": "query", |
| 28 "type": "boolean" |
| 29 }, |
| 30 "oauth_token": { |
| 31 "description": "OAuth 2.0 token for the current user.", |
| 32 "location": "query", |
| 33 "type": "string" |
| 34 }, |
| 35 "bearer_token": { |
| 36 "description": "OAuth bearer token.", |
| 37 "location": "query", |
| 38 "type": "string" |
| 39 }, |
| 40 "upload_protocol": { |
| 41 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 42 "location": "query", |
| 43 "type": "string" |
| 44 }, |
| 45 "prettyPrint": { |
| 46 "default": "true", |
| 47 "description": "Returns response with indentations and line breaks."
, |
| 48 "location": "query", |
| 49 "type": "boolean" |
| 50 }, |
19 "uploadType": { | 51 "uploadType": { |
20 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 52 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
21 "location": "query", | 53 "location": "query", |
22 "type": "string" | 54 "type": "string" |
23 }, | 55 }, |
24 "fields": { | 56 "fields": { |
25 "description": "Selector specifying which fields to include in a par
tial response.", | 57 "description": "Selector specifying which fields to include in a par
tial response.", |
26 "location": "query", | 58 "location": "query", |
27 "type": "string" | 59 "type": "string" |
28 }, | 60 }, |
29 "callback": { | |
30 "description": "JSONP", | |
31 "location": "query", | |
32 "type": "string" | |
33 }, | |
34 "$.xgafv": { | 61 "$.xgafv": { |
35 "description": "V1 error format.", | 62 "description": "V1 error format.", |
36 "enum": [ | 63 "enum": [ |
37 "1", | 64 "1", |
38 "2" | 65 "2" |
39 ], | 66 ], |
40 "enumDescriptions": [ | 67 "enumDescriptions": [ |
41 "v1 error format", | 68 "v1 error format", |
42 "v2 error format" | 69 "v2 error format" |
43 ], | 70 ], |
44 "location": "query", | 71 "location": "query", |
45 "type": "string" | 72 "type": "string" |
46 }, | 73 }, |
| 74 "callback": { |
| 75 "description": "JSONP", |
| 76 "location": "query", |
| 77 "type": "string" |
| 78 }, |
47 "alt": { | 79 "alt": { |
48 "default": "json", | 80 "default": "json", |
49 "description": "Data format for response.", | 81 "description": "Data format for response.", |
50 "enum": [ | 82 "enum": [ |
51 "json", | 83 "json", |
52 "media", | 84 "media", |
53 "proto" | 85 "proto" |
54 ], | 86 ], |
55 "enumDescriptions": [ | 87 "enumDescriptions": [ |
56 "Responses with Content-Type of application/json", | 88 "Responses with Content-Type of application/json", |
57 "Media download with context-dependent Content-Type", | 89 "Media download with context-dependent Content-Type", |
58 "Responses with Content-Type of application/x-protobuf" | 90 "Responses with Content-Type of application/x-protobuf" |
59 ], | 91 ], |
60 "location": "query", | 92 "location": "query", |
61 "type": "string" | 93 "type": "string" |
62 }, | 94 }, |
63 "key": { | 95 "key": { |
64 "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.", | 96 "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.", |
65 "location": "query", | 97 "location": "query", |
66 "type": "string" | 98 "type": "string" |
67 }, | 99 }, |
68 "access_token": { | 100 "access_token": { |
69 "description": "OAuth access token.", | 101 "description": "OAuth access token.", |
70 "location": "query", | 102 "location": "query", |
71 "type": "string" | 103 "type": "string" |
72 }, | |
73 "quotaUser": { | |
74 "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.", | |
75 "location": "query", | |
76 "type": "string" | |
77 }, | |
78 "pp": { | |
79 "default": "true", | |
80 "description": "Pretty-print response.", | |
81 "location": "query", | |
82 "type": "boolean" | |
83 }, | |
84 "bearer_token": { | |
85 "description": "OAuth bearer token.", | |
86 "location": "query", | |
87 "type": "string" | |
88 }, | |
89 "oauth_token": { | |
90 "description": "OAuth 2.0 token for the current user.", | |
91 "location": "query", | |
92 "type": "string" | |
93 }, | |
94 "upload_protocol": { | |
95 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
96 "location": "query", | |
97 "type": "string" | |
98 }, | |
99 "prettyPrint": { | |
100 "default": "true", | |
101 "description": "Returns response with indentations and line breaks."
, | |
102 "location": "query", | |
103 "type": "boolean" | |
104 } | 104 } |
105 }, | 105 }, |
106 "protocol": "rest", | 106 "protocol": "rest", |
107 "resources": { | 107 "resources": { |
108 "urlTestingTools": { | 108 "urlTestingTools": { |
109 "resources": { | 109 "resources": { |
110 "mobileFriendlyTest": { | 110 "mobileFriendlyTest": { |
111 "methods": { | 111 "methods": { |
112 "run": { | 112 "run": { |
113 "description": "Runs Mobile-Friendly Test for a give
n URL.", | 113 "description": "Runs Mobile-Friendly Test for a give
n URL.", |
114 "httpMethod": "POST", | 114 "httpMethod": "POST", |
115 "id": "searchconsole.urlTestingTools.mobileFriendlyT
est.run", | 115 "id": "searchconsole.urlTestingTools.mobileFriendlyT
est.run", |
116 "parameterOrder": [], | 116 "parameterOrder": [], |
117 "parameters": {}, | 117 "parameters": {}, |
118 "path": "v1/urlTestingTools/mobileFriendlyTest:run", | 118 "path": "v1/urlTestingTools/mobileFriendlyTest:run", |
119 "request": { | 119 "request": { |
120 "$ref": "RunMobileFriendlyTestRequest" | 120 "$ref": "RunMobileFriendlyTestRequest" |
121 }, | 121 }, |
122 "response": { | 122 "response": { |
123 "$ref": "RunMobileFriendlyTestResponse" | 123 "$ref": "RunMobileFriendlyTestResponse" |
124 } | 124 } |
125 } | 125 } |
126 } | 126 } |
127 } | 127 } |
128 } | 128 } |
129 } | 129 } |
130 }, | 130 }, |
131 "revision": "20170325", | 131 "revision": "20170405", |
132 "rootUrl": "https://searchconsole.googleapis.com/", | 132 "rootUrl": "https://searchconsole.googleapis.com/", |
133 "schemas": { | 133 "schemas": { |
134 "RunMobileFriendlyTestRequest": { | |
135 "description": "Mobile-friendly test request.", | |
136 "id": "RunMobileFriendlyTestRequest", | |
137 "properties": { | |
138 "url": { | |
139 "description": "URL for inspection.", | |
140 "type": "string" | |
141 }, | |
142 "requestScreenshot": { | |
143 "description": "Whether or not screenshot is requested. Defa
ult is false.", | |
144 "type": "boolean" | |
145 } | |
146 }, | |
147 "type": "object" | |
148 }, | |
149 "Image": { | |
150 "description": "Describe image data.", | |
151 "id": "Image", | |
152 "properties": { | |
153 "mimeType": { | |
154 "description": "The mime-type of the image data.", | |
155 "type": "string" | |
156 }, | |
157 "data": { | |
158 "description": "Image data in format determined by the mime
type. Currently, the format\nwill always be \"image/png\", but this might change
in the future.", | |
159 "format": "byte", | |
160 "type": "string" | |
161 } | |
162 }, | |
163 "type": "object" | |
164 }, | |
165 "MobileFriendlyIssue": { | 134 "MobileFriendlyIssue": { |
166 "description": "Mobile-friendly issue.", | 135 "description": "Mobile-friendly issue.", |
167 "id": "MobileFriendlyIssue", | 136 "id": "MobileFriendlyIssue", |
168 "properties": { | 137 "properties": { |
169 "rule": { | 138 "rule": { |
170 "description": "Rule violated.", | 139 "description": "Rule violated.", |
171 "enum": [ | 140 "enum": [ |
172 "MOBILE_FRIENDLY_RULE_UNSPECIFIED", | 141 "MOBILE_FRIENDLY_RULE_UNSPECIFIED", |
173 "USES_INCOMPATIBLE_PLUGINS", | 142 "USES_INCOMPATIBLE_PLUGINS", |
174 "CONFIGURE_VIEWPORT", | 143 "CONFIGURE_VIEWPORT", |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "Google can not access the URL because of a user error s
uch as a robots.txt\nblockage, a 403 or 500 code etc. Please make sure that the
URL provided is\naccessible by Googlebot and is not password protected." | 244 "Google can not access the URL because of a user error s
uch as a robots.txt\nblockage, a 403 or 500 code etc. Please make sure that the
URL provided is\naccessible by Googlebot and is not password protected." |
276 ], | 245 ], |
277 "type": "string" | 246 "type": "string" |
278 }, | 247 }, |
279 "details": { | 248 "details": { |
280 "description": "Error details if applicable.", | 249 "description": "Error details if applicable.", |
281 "type": "string" | 250 "type": "string" |
282 } | 251 } |
283 }, | 252 }, |
284 "type": "object" | 253 "type": "object" |
| 254 }, |
| 255 "Image": { |
| 256 "description": "Describe image data.", |
| 257 "id": "Image", |
| 258 "properties": { |
| 259 "mimeType": { |
| 260 "description": "The mime-type of the image data.", |
| 261 "type": "string" |
| 262 }, |
| 263 "data": { |
| 264 "description": "Image data in format determined by the mime
type. Currently, the format\nwill always be \"image/png\", but this might change
in the future.", |
| 265 "format": "byte", |
| 266 "type": "string" |
| 267 } |
| 268 }, |
| 269 "type": "object" |
| 270 }, |
| 271 "RunMobileFriendlyTestRequest": { |
| 272 "description": "Mobile-friendly test request.", |
| 273 "id": "RunMobileFriendlyTestRequest", |
| 274 "properties": { |
| 275 "url": { |
| 276 "description": "URL for inspection.", |
| 277 "type": "string" |
| 278 }, |
| 279 "requestScreenshot": { |
| 280 "description": "Whether or not screenshot is requested. Defa
ult is false.", |
| 281 "type": "boolean" |
| 282 } |
| 283 }, |
| 284 "type": "object" |
285 } | 285 } |
286 }, | 286 }, |
287 "servicePath": "", | 287 "servicePath": "", |
288 "title": "Google Search Console URL Testing Tools API", | 288 "title": "Google Search Console URL Testing Tools API", |
289 "version": "v1" | 289 "version": "v1" |
290 } | 290 } |
OLD | NEW |