@@ -0,0 +1,292 @@
2+ "baseUrl": "https://searchconsole.googleapis.com/",
3+ "canonicalName": "Search Console",
4+ "kind": "discovery#restDescription",
6+ "description": "Provides tools for running validation tests against single URLs",
7+ "rootUrl": "https://searchconsole.googleapis.com/",
9+ "ownerDomain": "google.com",
10+ "name": "searchconsole",
11+ "batchPath": "batch",
12+ "revision": "20170208",
13+ "documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
14+ "id": "searchconsole:v1",
15+ "title": "Google Search Console URL Testing Tools API",
16+ "ownerName": "Google",
17+ "discoveryVersion": "v1",
18+ "version_module": "True",
22+ "mobileFriendlyTest": {
26+ "$ref": "RunMobileFriendlyTestResponse"
28+ "parameterOrder": [],
29+ "httpMethod": "POST",
31+ "flatPath": "v1/urlTestingTools/mobileFriendlyTest:run",
32+ "path": "v1/urlTestingTools/mobileFriendlyTest:run",
33+ "id": "searchconsole.urlTestingTools.mobileFriendlyTest.run",
34+ "description": "Runs Mobile-Friendly Test for a given URL.",
36+ "$ref": "RunMobileFriendlyTestRequest"
46+ "description": "Pretty-print response.",
52+ "description": "OAuth 2.0 token for the current user.",
59+ "description": "OAuth bearer token."
62+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
67+ "description": "Returns response with indentations and line breaks.",
74+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
79+ "description": "Selector specifying which fields to include in a partial response.",
84+ "enumDescriptions": [
93+ "description": "V1 error format."
97+ "description": "JSONP",
102+ "enumDescriptions": [
103+ "Responses with Content-Type of application/json",
104+ "Media download with context-dependent Content-Type",
105+ "Responses with Content-Type of application/x-protobuf"
107+ "location": "query",
108+ "description": "Data format for response.",
117+ "location": "query",
118+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
122+ "location": "query",
123+ "description": "OAuth access token.",
127+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
133+ "MobileFriendlyIssue": {
138+ "MOBILE_FRIENDLY_RULE_UNSPECIFIED",
139+ "USES_INCOMPATIBLE_PLUGINS",
140+ "CONFIGURE_VIEWPORT",
141+ "FIXED_WIDTH_VIEWPORT",
142+ "SIZE_CONTENT_TO_VIEWPORT",
143+ "USE_LEGIBLE_FONT_SIZES",
144+ "TAP_TARGETS_TOO_CLOSE"
146+ "description": "Rule violated.",
148+ "enumDescriptions": [
149+ "Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.",
150+ "Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).",
151+ "Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).",
152+ "Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).",
153+ "Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).",
154+ "Font size is too small for easy reading on a small screen. [Learn More]\n(https://support.google.com/webmasters/answer/6352293#small_font_size).",
155+ "Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)."
159+ "id": "MobileFriendlyIssue",
160+ "description": "Mobile-friendly issue."
162+ "RunMobileFriendlyTestResponse": {
163+ "description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.",
166+ "mobileFriendliness": {
167+ "enumDescriptions": [
168+ "Internal error when running this test. Please try running the test again.",
169+ "The page is mobile friendly.",
170+ "The page is not mobile friendly."
173+ "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED",
175+ "NOT_MOBILE_FRIENDLY"
177+ "description": "Test verdict, whether the page is mobile friendly or not.",
180+ "mobileFriendlyIssues": {
181+ "description": "List of mobile-usability issues.",
184+ "$ref": "MobileFriendlyIssue"
188+ "description": "Screenshot of the requested URL.",
192+ "description": "Final state of the test, can be either complete or an error.",
193+ "$ref": "TestStatus"
196+ "description": "Information about embedded resources issues.",
199+ "$ref": "ResourceIssue"
203+ "id": "RunMobileFriendlyTestResponse"
207+ "blockedResource": {
208+ "$ref": "BlockedResource",
209+ "description": "Describes a blocked resource issue."
212+ "id": "ResourceIssue",
213+ "description": "Information about a resource with issue.",
216+ "BlockedResource": {
217+ "description": "Blocked resource.",
222+ "description": "URL of the blocked resource."
225+ "id": "BlockedResource"
228+ "description": "Final state of the test, including error details if necessary.",
232+ "description": "Error details if applicable.",
237+ "enumDescriptions": [
238+ "Internal error when running this test. Please try running the test again.",
239+ "Inspection has completed without errors.",
240+ "Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
241+ "Google can not access the URL because of a user error such 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+ "TEST_STATUS_UNSPECIFIED",
249+ "description": "Status of the test."
257+ "description": "The mime-type of the image data.",
262+ "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.",
267+ "description": "Describe image data.",
270+ "RunMobileFriendlyTestRequest": {
271+ "description": "Mobile-friendly test request.",
275+ "description": "URL for inspection.",
278+ "requestScreenshot": {
279+ "description": "Whether or not screenshot is requested. Default is false.",
283+ "id": "RunMobileFriendlyTestRequest"
288+ "x32": "http://www.google.com/images/icons/product/search-32.gif",
289+ "x16": "http://www.google.com/images/icons/product/search-16.gif"