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": { | |
20 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
21 "location": "query", | |
22 "type": "string" | |
23 }, | |
24 "prettyPrint": { | |
25 "default": "true", | |
26 "description": "Returns response with indentations and line breaks."
, | |
27 "location": "query", | |
28 "type": "boolean" | |
29 }, | |
30 "uploadType": { | |
31 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
32 "location": "query", | |
33 "type": "string" | |
34 }, | |
35 "fields": { | |
36 "description": "Selector specifying which fields to include in a par
tial response.", | |
37 "location": "query", | |
38 "type": "string" | |
39 }, | |
40 "$.xgafv": { | |
41 "description": "V1 error format.", | |
42 "enum": [ | |
43 "1", | |
44 "2" | |
45 ], | |
46 "enumDescriptions": [ | |
47 "v1 error format", | |
48 "v2 error format" | |
49 ], | |
50 "location": "query", | |
51 "type": "string" | |
52 }, | |
53 "callback": { | |
54 "description": "JSONP", | |
55 "location": "query", | |
56 "type": "string" | |
57 }, | |
58 "alt": { | 19 "alt": { |
59 "default": "json", | 20 "default": "json", |
60 "description": "Data format for response.", | 21 "description": "Data format for response.", |
61 "enum": [ | 22 "enum": [ |
62 "json", | 23 "json", |
63 "media", | 24 "media", |
64 "proto" | 25 "proto" |
65 ], | 26 ], |
66 "enumDescriptions": [ | 27 "enumDescriptions": [ |
67 "Responses with Content-Type of application/json", | 28 "Responses with Content-Type of application/json", |
68 "Media download with context-dependent Content-Type", | 29 "Media download with context-dependent Content-Type", |
69 "Responses with Content-Type of application/x-protobuf" | 30 "Responses with Content-Type of application/x-protobuf" |
70 ], | 31 ], |
71 "location": "query", | 32 "location": "query", |
72 "type": "string" | 33 "type": "string" |
73 }, | 34 }, |
| 35 "key": { |
| 36 "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.", |
| 37 "location": "query", |
| 38 "type": "string" |
| 39 }, |
74 "access_token": { | 40 "access_token": { |
75 "description": "OAuth access token.", | 41 "description": "OAuth access token.", |
76 "location": "query", | 42 "location": "query", |
77 "type": "string" | 43 "type": "string" |
78 }, | 44 }, |
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": { | 45 "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.", | 46 "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", | 47 "location": "query", |
87 "type": "string" | 48 "type": "string" |
88 }, | 49 }, |
89 "pp": { | 50 "pp": { |
90 "default": "true", | 51 "default": "true", |
91 "description": "Pretty-print response.", | 52 "description": "Pretty-print response.", |
92 "location": "query", | 53 "location": "query", |
93 "type": "boolean" | 54 "type": "boolean" |
94 }, | 55 }, |
| 56 "oauth_token": { |
| 57 "description": "OAuth 2.0 token for the current user.", |
| 58 "location": "query", |
| 59 "type": "string" |
| 60 }, |
95 "bearer_token": { | 61 "bearer_token": { |
96 "description": "OAuth bearer token.", | 62 "description": "OAuth bearer token.", |
97 "location": "query", | 63 "location": "query", |
98 "type": "string" | 64 "type": "string" |
99 }, | 65 }, |
100 "oauth_token": { | 66 "upload_protocol": { |
101 "description": "OAuth 2.0 token for the current user.", | 67 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 68 "location": "query", |
| 69 "type": "string" |
| 70 }, |
| 71 "prettyPrint": { |
| 72 "default": "true", |
| 73 "description": "Returns response with indentations and line breaks."
, |
| 74 "location": "query", |
| 75 "type": "boolean" |
| 76 }, |
| 77 "fields": { |
| 78 "description": "Selector specifying which fields to include in a par
tial response.", |
| 79 "location": "query", |
| 80 "type": "string" |
| 81 }, |
| 82 "uploadType": { |
| 83 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 84 "location": "query", |
| 85 "type": "string" |
| 86 }, |
| 87 "callback": { |
| 88 "description": "JSONP", |
| 89 "location": "query", |
| 90 "type": "string" |
| 91 }, |
| 92 "$.xgafv": { |
| 93 "description": "V1 error format.", |
| 94 "enum": [ |
| 95 "1", |
| 96 "2" |
| 97 ], |
| 98 "enumDescriptions": [ |
| 99 "v1 error format", |
| 100 "v2 error format" |
| 101 ], |
102 "location": "query", | 102 "location": "query", |
103 "type": "string" | 103 "type": "string" |
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": "20170729", | 131 "revision": "20170819", |
132 "rootUrl": "https://searchconsole.googleapis.com/", | 132 "rootUrl": "https://searchconsole.googleapis.com/", |
133 "schemas": { | 133 "schemas": { |
134 "RunMobileFriendlyTestResponse": { | 134 "RunMobileFriendlyTestResponse": { |
135 "description": "Mobile-friendly test response, including mobile-frie
ndly issues and resource\nissues.", | 135 "description": "Mobile-friendly test response, including mobile-frie
ndly issues and resource\nissues.", |
136 "id": "RunMobileFriendlyTestResponse", | 136 "id": "RunMobileFriendlyTestResponse", |
137 "properties": { | 137 "properties": { |
| 138 "screenshot": { |
| 139 "$ref": "Image", |
| 140 "description": "Screenshot of the requested URL." |
| 141 }, |
| 142 "resourceIssues": { |
| 143 "description": "Information about embedded resources issues.
", |
| 144 "items": { |
| 145 "$ref": "ResourceIssue" |
| 146 }, |
| 147 "type": "array" |
| 148 }, |
| 149 "testStatus": { |
| 150 "$ref": "TestStatus", |
| 151 "description": "Final state of the test, can be either compl
ete or an error." |
| 152 }, |
138 "mobileFriendliness": { | 153 "mobileFriendliness": { |
139 "description": "Test verdict, whether the page is mobile fri
endly or not.", | 154 "description": "Test verdict, whether the page is mobile fri
endly or not.", |
140 "enum": [ | 155 "enum": [ |
141 "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", | 156 "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", |
142 "MOBILE_FRIENDLY", | 157 "MOBILE_FRIENDLY", |
143 "NOT_MOBILE_FRIENDLY" | 158 "NOT_MOBILE_FRIENDLY" |
144 ], | 159 ], |
145 "enumDescriptions": [ | 160 "enumDescriptions": [ |
146 "Internal error when running this test. Please try runni
ng the test again.", | 161 "Internal error when running this test. Please try runni
ng the test again.", |
147 "The page is mobile friendly.", | 162 "The page is mobile friendly.", |
148 "The page is not mobile friendly." | 163 "The page is not mobile friendly." |
149 ], | 164 ], |
150 "type": "string" | 165 "type": "string" |
151 }, | 166 }, |
152 "mobileFriendlyIssues": { | 167 "mobileFriendlyIssues": { |
153 "description": "List of mobile-usability issues.", | 168 "description": "List of mobile-usability issues.", |
154 "items": { | 169 "items": { |
155 "$ref": "MobileFriendlyIssue" | 170 "$ref": "MobileFriendlyIssue" |
156 }, | 171 }, |
157 "type": "array" | 172 "type": "array" |
158 }, | |
159 "screenshot": { | |
160 "$ref": "Image", | |
161 "description": "Screenshot of the requested URL." | |
162 }, | |
163 "resourceIssues": { | |
164 "description": "Information about embedded resources issues.
", | |
165 "items": { | |
166 "$ref": "ResourceIssue" | |
167 }, | |
168 "type": "array" | |
169 }, | |
170 "testStatus": { | |
171 "$ref": "TestStatus", | |
172 "description": "Final state of the test, can be either compl
ete or an error." | |
173 } | 173 } |
174 }, | 174 }, |
175 "type": "object" | 175 "type": "object" |
176 }, | 176 }, |
177 "ResourceIssue": { | 177 "ResourceIssue": { |
178 "description": "Information about a resource with issue.", | 178 "description": "Information about a resource with issue.", |
179 "id": "ResourceIssue", | 179 "id": "ResourceIssue", |
180 "properties": { | 180 "properties": { |
181 "blockedResource": { | 181 "blockedResource": { |
182 "$ref": "BlockedResource", | 182 "$ref": "BlockedResource", |
(...skipping 10 matching lines...) Expand all Loading... |
193 "description": "URL of the blocked resource.", | 193 "description": "URL of the blocked resource.", |
194 "type": "string" | 194 "type": "string" |
195 } | 195 } |
196 }, | 196 }, |
197 "type": "object" | 197 "type": "object" |
198 }, | 198 }, |
199 "TestStatus": { | 199 "TestStatus": { |
200 "description": "Final state of the test, including error details if
necessary.", | 200 "description": "Final state of the test, including error details if
necessary.", |
201 "id": "TestStatus", | 201 "id": "TestStatus", |
202 "properties": { | 202 "properties": { |
| 203 "details": { |
| 204 "description": "Error details if applicable.", |
| 205 "type": "string" |
| 206 }, |
203 "status": { | 207 "status": { |
204 "description": "Status of the test.", | 208 "description": "Status of the test.", |
205 "enum": [ | 209 "enum": [ |
206 "TEST_STATUS_UNSPECIFIED", | 210 "TEST_STATUS_UNSPECIFIED", |
207 "COMPLETE", | 211 "COMPLETE", |
208 "INTERNAL_ERROR", | 212 "INTERNAL_ERROR", |
209 "PAGE_UNREACHABLE" | 213 "PAGE_UNREACHABLE" |
210 ], | 214 ], |
211 "enumDescriptions": [ | 215 "enumDescriptions": [ |
212 "Internal error when running this test. Please try runni
ng the test again.", | 216 "Internal error when running this test. Please try runni
ng the test again.", |
213 "Inspection has completed without errors.", | 217 "Inspection has completed without errors.", |
214 "Inspection terminated in an error state. This indicates
a problem in\nGoogle's infrastructure, not a user error. Please try again later
.", | 218 "Inspection terminated in an error state. This indicates
a problem in\nGoogle's infrastructure, not a user error. Please try again later
.", |
215 "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." | 219 "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." |
216 ], | 220 ], |
217 "type": "string" | 221 "type": "string" |
218 }, | |
219 "details": { | |
220 "description": "Error details if applicable.", | |
221 "type": "string" | |
222 } | 222 } |
223 }, | 223 }, |
224 "type": "object" | 224 "type": "object" |
225 }, | 225 }, |
226 "Image": { | 226 "Image": { |
227 "description": "Describe image data.", | 227 "description": "Describe image data.", |
228 "id": "Image", | 228 "id": "Image", |
229 "properties": { | 229 "properties": { |
230 "mimeType": { | 230 "mimeType": { |
231 "description": "The mime-type of the image data.", | 231 "description": "The mime-type of the image data.", |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 "type": "string" | 281 "type": "string" |
282 } | 282 } |
283 }, | 283 }, |
284 "type": "object" | 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 |