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 "upload_protocol": { | 19 "uploadType": { |
20 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 20 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
21 "location": "query", | 21 "location": "query", |
22 "type": "string" | 22 "type": "string" |
23 }, | 23 }, |
24 "prettyPrint": { | |
25 "default": "true", | |
26 "description": "Returns response with indentations and line breaks."
, | |
27 "location": "query", | |
28 "type": "boolean" | |
29 }, | |
30 "fields": { | 24 "fields": { |
31 "description": "Selector specifying which fields to include in a par
tial response.", | 25 "description": "Selector specifying which fields to include in a par
tial response.", |
32 "location": "query", | 26 "location": "query", |
33 "type": "string" | 27 "type": "string" |
34 }, | 28 }, |
35 "uploadType": { | |
36 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
37 "location": "query", | |
38 "type": "string" | |
39 }, | |
40 "callback": { | 29 "callback": { |
41 "description": "JSONP", | 30 "description": "JSONP", |
42 "location": "query", | 31 "location": "query", |
43 "type": "string" | 32 "type": "string" |
44 }, | 33 }, |
45 "$.xgafv": { | 34 "$.xgafv": { |
46 "description": "V1 error format.", | 35 "description": "V1 error format.", |
47 "enum": [ | 36 "enum": [ |
48 "1", | 37 "1", |
49 "2" | 38 "2" |
(...skipping 14 matching lines...) Expand all Loading... |
64 "proto" | 53 "proto" |
65 ], | 54 ], |
66 "enumDescriptions": [ | 55 "enumDescriptions": [ |
67 "Responses with Content-Type of application/json", | 56 "Responses with Content-Type of application/json", |
68 "Media download with context-dependent Content-Type", | 57 "Media download with context-dependent Content-Type", |
69 "Responses with Content-Type of application/x-protobuf" | 58 "Responses with Content-Type of application/x-protobuf" |
70 ], | 59 ], |
71 "location": "query", | 60 "location": "query", |
72 "type": "string" | 61 "type": "string" |
73 }, | 62 }, |
| 63 "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.", |
| 65 "location": "query", |
| 66 "type": "string" |
| 67 }, |
74 "access_token": { | 68 "access_token": { |
75 "description": "OAuth access token.", | 69 "description": "OAuth access token.", |
76 "location": "query", | 70 "location": "query", |
77 "type": "string" | 71 "type": "string" |
78 }, | 72 }, |
79 "key": { | |
80 "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.", | |
81 "location": "query", | |
82 "type": "string" | |
83 }, | |
84 "quotaUser": { | 73 "quotaUser": { |
85 "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.", | 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.", |
86 "location": "query", | 75 "location": "query", |
87 "type": "string" | 76 "type": "string" |
88 }, | 77 }, |
89 "pp": { | 78 "pp": { |
90 "default": "true", | 79 "default": "true", |
91 "description": "Pretty-print response.", | 80 "description": "Pretty-print response.", |
92 "location": "query", | 81 "location": "query", |
93 "type": "boolean" | 82 "type": "boolean" |
94 }, | 83 }, |
95 "bearer_token": { | 84 "bearer_token": { |
96 "description": "OAuth bearer token.", | 85 "description": "OAuth bearer token.", |
97 "location": "query", | 86 "location": "query", |
98 "type": "string" | 87 "type": "string" |
99 }, | 88 }, |
100 "oauth_token": { | 89 "oauth_token": { |
101 "description": "OAuth 2.0 token for the current user.", | 90 "description": "OAuth 2.0 token for the current user.", |
102 "location": "query", | 91 "location": "query", |
103 "type": "string" | 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": "20170305", | 131 "revision": "20170325", |
132 "rootUrl": "https://searchconsole.googleapis.com/", | 132 "rootUrl": "https://searchconsole.googleapis.com/", |
133 "schemas": { | 133 "schemas": { |
134 "ResourceIssue": { | |
135 "description": "Information about a resource with issue.", | |
136 "id": "ResourceIssue", | |
137 "properties": { | |
138 "blockedResource": { | |
139 "$ref": "BlockedResource", | |
140 "description": "Describes a blocked resource issue." | |
141 } | |
142 }, | |
143 "type": "object" | |
144 }, | |
145 "BlockedResource": { | |
146 "description": "Blocked resource.", | |
147 "id": "BlockedResource", | |
148 "properties": { | |
149 "url": { | |
150 "description": "URL of the blocked resource.", | |
151 "type": "string" | |
152 } | |
153 }, | |
154 "type": "object" | |
155 }, | |
156 "TestStatus": { | |
157 "description": "Final state of the test, including error details if
necessary.", | |
158 "id": "TestStatus", | |
159 "properties": { | |
160 "status": { | |
161 "description": "Status of the test.", | |
162 "enum": [ | |
163 "TEST_STATUS_UNSPECIFIED", | |
164 "COMPLETE", | |
165 "INTERNAL_ERROR", | |
166 "PAGE_UNREACHABLE" | |
167 ], | |
168 "enumDescriptions": [ | |
169 "Internal error when running this test. Please try runni
ng the test again.", | |
170 "Inspection has completed without errors.", | |
171 "Inspection terminated in an error state. This indicates
a problem in\nGoogle's infrastructure, not a user error. Please try again later
.", | |
172 "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." | |
173 ], | |
174 "type": "string" | |
175 }, | |
176 "details": { | |
177 "description": "Error details if applicable.", | |
178 "type": "string" | |
179 } | |
180 }, | |
181 "type": "object" | |
182 }, | |
183 "RunMobileFriendlyTestRequest": { | 134 "RunMobileFriendlyTestRequest": { |
184 "description": "Mobile-friendly test request.", | 135 "description": "Mobile-friendly test request.", |
185 "id": "RunMobileFriendlyTestRequest", | 136 "id": "RunMobileFriendlyTestRequest", |
186 "properties": { | 137 "properties": { |
187 "url": { | 138 "url": { |
188 "description": "URL for inspection.", | 139 "description": "URL for inspection.", |
189 "type": "string" | 140 "type": "string" |
190 }, | 141 }, |
191 "requestScreenshot": { | 142 "requestScreenshot": { |
192 "description": "Whether or not screenshot is requested. Defa
ult is false.", | 143 "description": "Whether or not screenshot is requested. Defa
ult is false.", |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 "$ref": "MobileFriendlyIssue" | 226 "$ref": "MobileFriendlyIssue" |
276 }, | 227 }, |
277 "type": "array" | 228 "type": "array" |
278 }, | 229 }, |
279 "screenshot": { | 230 "screenshot": { |
280 "$ref": "Image", | 231 "$ref": "Image", |
281 "description": "Screenshot of the requested URL." | 232 "description": "Screenshot of the requested URL." |
282 } | 233 } |
283 }, | 234 }, |
284 "type": "object" | 235 "type": "object" |
| 236 }, |
| 237 "ResourceIssue": { |
| 238 "description": "Information about a resource with issue.", |
| 239 "id": "ResourceIssue", |
| 240 "properties": { |
| 241 "blockedResource": { |
| 242 "$ref": "BlockedResource", |
| 243 "description": "Describes a blocked resource issue." |
| 244 } |
| 245 }, |
| 246 "type": "object" |
| 247 }, |
| 248 "BlockedResource": { |
| 249 "description": "Blocked resource.", |
| 250 "id": "BlockedResource", |
| 251 "properties": { |
| 252 "url": { |
| 253 "description": "URL of the blocked resource.", |
| 254 "type": "string" |
| 255 } |
| 256 }, |
| 257 "type": "object" |
| 258 }, |
| 259 "TestStatus": { |
| 260 "description": "Final state of the test, including error details if
necessary.", |
| 261 "id": "TestStatus", |
| 262 "properties": { |
| 263 "status": { |
| 264 "description": "Status of the test.", |
| 265 "enum": [ |
| 266 "TEST_STATUS_UNSPECIFIED", |
| 267 "COMPLETE", |
| 268 "INTERNAL_ERROR", |
| 269 "PAGE_UNREACHABLE" |
| 270 ], |
| 271 "enumDescriptions": [ |
| 272 "Internal error when running this test. Please try runni
ng the test again.", |
| 273 "Inspection has completed without errors.", |
| 274 "Inspection terminated in an error state. This indicates
a problem in\nGoogle's infrastructure, not a user error. Please try again later
.", |
| 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." |
| 276 ], |
| 277 "type": "string" |
| 278 }, |
| 279 "details": { |
| 280 "description": "Error details if applicable.", |
| 281 "type": "string" |
| 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 |