| 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 "bearer_token": { | |
| 31 "description": "OAuth bearer token.", | |
| 32 "location": "query", | |
| 33 "type": "string" | |
| 34 }, | |
| 35 "oauth_token": { | |
| 36 "description": "OAuth 2.0 token for the current user.", | |
| 37 "location": "query", | |
| 38 "type": "string" | |
| 39 }, | |
| 40 "upload_protocol": { | 19 "upload_protocol": { |
| 41 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 20 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 42 "location": "query", | 21 "location": "query", |
| 43 "type": "string" | 22 "type": "string" |
| 44 }, | 23 }, |
| 45 "prettyPrint": { | 24 "prettyPrint": { |
| 46 "default": "true", | 25 "default": "true", |
| 47 "description": "Returns response with indentations and line breaks."
, | 26 "description": "Returns response with indentations and line breaks."
, |
| 48 "location": "query", | 27 "location": "query", |
| 49 "type": "boolean" | 28 "type": "boolean" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 }, | 73 }, |
| 95 "access_token": { | 74 "access_token": { |
| 96 "description": "OAuth access token.", | 75 "description": "OAuth access token.", |
| 97 "location": "query", | 76 "location": "query", |
| 98 "type": "string" | 77 "type": "string" |
| 99 }, | 78 }, |
| 100 "key": { | 79 "key": { |
| 101 "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.", | 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.", |
| 102 "location": "query", | 81 "location": "query", |
| 103 "type": "string" | 82 "type": "string" |
| 83 }, |
| 84 "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.", |
| 86 "location": "query", |
| 87 "type": "string" |
| 88 }, |
| 89 "pp": { |
| 90 "default": "true", |
| 91 "description": "Pretty-print response.", |
| 92 "location": "query", |
| 93 "type": "boolean" |
| 94 }, |
| 95 "bearer_token": { |
| 96 "description": "OAuth bearer token.", |
| 97 "location": "query", |
| 98 "type": "string" |
| 99 }, |
| 100 "oauth_token": { |
| 101 "description": "OAuth 2.0 token for the current user.", |
| 102 "location": "query", |
| 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": "20170709", | 131 "revision": "20170729", |
| 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 "resourceIssues": { | |
| 139 "description": "Information about embedded resources issues.
", | |
| 140 "items": { | |
| 141 "$ref": "ResourceIssue" | |
| 142 }, | |
| 143 "type": "array" | |
| 144 }, | |
| 145 "testStatus": { | |
| 146 "$ref": "TestStatus", | |
| 147 "description": "Final state of the test, can be either compl
ete or an error." | |
| 148 }, | |
| 149 "mobileFriendliness": { | 138 "mobileFriendliness": { |
| 150 "description": "Test verdict, whether the page is mobile fri
endly or not.", | 139 "description": "Test verdict, whether the page is mobile fri
endly or not.", |
| 151 "enum": [ | 140 "enum": [ |
| 152 "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", | 141 "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED", |
| 153 "MOBILE_FRIENDLY", | 142 "MOBILE_FRIENDLY", |
| 154 "NOT_MOBILE_FRIENDLY" | 143 "NOT_MOBILE_FRIENDLY" |
| 155 ], | 144 ], |
| 156 "enumDescriptions": [ | 145 "enumDescriptions": [ |
| 157 "Internal error when running this test. Please try runni
ng the test again.", | 146 "Internal error when running this test. Please try runni
ng the test again.", |
| 158 "The page is mobile friendly.", | 147 "The page is mobile friendly.", |
| 159 "The page is not mobile friendly." | 148 "The page is not mobile friendly." |
| 160 ], | 149 ], |
| 161 "type": "string" | 150 "type": "string" |
| 162 }, | 151 }, |
| 163 "mobileFriendlyIssues": { | 152 "mobileFriendlyIssues": { |
| 164 "description": "List of mobile-usability issues.", | 153 "description": "List of mobile-usability issues.", |
| 165 "items": { | 154 "items": { |
| 166 "$ref": "MobileFriendlyIssue" | 155 "$ref": "MobileFriendlyIssue" |
| 167 }, | 156 }, |
| 168 "type": "array" | 157 "type": "array" |
| 169 }, | 158 }, |
| 170 "screenshot": { | 159 "screenshot": { |
| 171 "$ref": "Image", | 160 "$ref": "Image", |
| 172 "description": "Screenshot of the requested URL." | 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 }, | |
| 207 "status": { | 203 "status": { |
| 208 "description": "Status of the test.", | 204 "description": "Status of the test.", |
| 209 "enum": [ | 205 "enum": [ |
| 210 "TEST_STATUS_UNSPECIFIED", | 206 "TEST_STATUS_UNSPECIFIED", |
| 211 "COMPLETE", | 207 "COMPLETE", |
| 212 "INTERNAL_ERROR", | 208 "INTERNAL_ERROR", |
| 213 "PAGE_UNREACHABLE" | 209 "PAGE_UNREACHABLE" |
| 214 ], | 210 ], |
| 215 "enumDescriptions": [ | 211 "enumDescriptions": [ |
| 216 "Internal error when running this test. Please try runni
ng the test again.", | 212 "Internal error when running this test. Please try runni
ng the test again.", |
| 217 "Inspection has completed without errors.", | 213 "Inspection has completed without errors.", |
| 218 "Inspection terminated in an error state. This indicates
a problem in\nGoogle's infrastructure, not a user error. Please try again later
.", | 214 "Inspection terminated in an error state. This indicates
a problem in\nGoogle's infrastructure, not a user error. Please try again later
.", |
| 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." | 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." |
| 220 ], | 216 ], |
| 221 "type": "string" | 217 "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 |