mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update to latest versions of API declarations
This commit is contained in:
@@ -1,39 +1,23 @@
|
||||
{
|
||||
"canonicalName": "Search Console",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Provides tools for running validation tests against single URLs",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://searchconsole.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "searchconsole",
|
||||
"batchPath": "batch",
|
||||
"revision": "20171211",
|
||||
"documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
|
||||
"id": "searchconsole:v1",
|
||||
"title": "Google Search Console URL Testing Tools API",
|
||||
"discoveryVersion": "v1",
|
||||
"ownerName": "Google",
|
||||
"version_module": true,
|
||||
"resources": {
|
||||
"urlTestingTools": {
|
||||
"resources": {
|
||||
"mobileFriendlyTest": {
|
||||
"methods": {
|
||||
"run": {
|
||||
"response": {
|
||||
"$ref": "RunMobileFriendlyTestResponse"
|
||||
},
|
||||
"parameterOrder": [],
|
||||
"httpMethod": "POST",
|
||||
"parameters": {},
|
||||
"flatPath": "v1/urlTestingTools/mobileFriendlyTest:run",
|
||||
"path": "v1/urlTestingTools/mobileFriendlyTest:run",
|
||||
"id": "searchconsole.urlTestingTools.mobileFriendlyTest.run",
|
||||
"description": "Runs Mobile-Friendly Test for a given URL.",
|
||||
"request": {
|
||||
"$ref": "RunMobileFriendlyTestRequest"
|
||||
}
|
||||
},
|
||||
"httpMethod": "POST",
|
||||
"parameterOrder": [],
|
||||
"response": {
|
||||
"$ref": "RunMobileFriendlyTestResponse"
|
||||
},
|
||||
"parameters": {},
|
||||
"flatPath": "v1/urlTestingTools/mobileFriendlyTest:run",
|
||||
"id": "searchconsole.urlTestingTools.mobileFriendlyTest.run",
|
||||
"path": "v1/urlTestingTools/mobileFriendlyTest:run"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -42,27 +26,34 @@
|
||||
},
|
||||
"parameters": {
|
||||
"upload_protocol": {
|
||||
"location": "query",
|
||||
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"location": "query",
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"fields": {
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"uploadType": {
|
||||
"location": "query",
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string"
|
||||
},
|
||||
"prettyPrint": {
|
||||
"description": "Returns response with indentations and line breaks.",
|
||||
"type": "boolean",
|
||||
"default": "true",
|
||||
"location": "query"
|
||||
},
|
||||
"quotaUser": {
|
||||
"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.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"fields": {
|
||||
"location": "query",
|
||||
"description": "Selector specifying which fields to include in a partial response.",
|
||||
"type": "string"
|
||||
},
|
||||
"uploadType": {
|
||||
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
},
|
||||
"$.xgafv": {
|
||||
"description": "V1 error format.",
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"v1 error format",
|
||||
"v2 error format"
|
||||
@@ -71,17 +62,19 @@
|
||||
"enum": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"description": "V1 error format.",
|
||||
]
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"callback": {
|
||||
"location": "query",
|
||||
"description": "JSONP",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
"type": "string"
|
||||
},
|
||||
"alt": {
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Responses with Content-Type of application/json",
|
||||
"Media download with context-dependent Content-Type",
|
||||
@@ -94,11 +87,7 @@
|
||||
"json",
|
||||
"media",
|
||||
"proto"
|
||||
]
|
||||
},
|
||||
"access_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth access token.",
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"key": {
|
||||
@@ -106,30 +95,16 @@
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"quotaUser": {
|
||||
"location": "query",
|
||||
"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.",
|
||||
"type": "string"
|
||||
},
|
||||
"pp": {
|
||||
"location": "query",
|
||||
"description": "Pretty-print response.",
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"oauth_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth 2.0 token for the current user.",
|
||||
"type": "string"
|
||||
},
|
||||
"bearer_token": {
|
||||
"location": "query",
|
||||
"description": "OAuth bearer token.",
|
||||
"type": "string"
|
||||
"access_token": {
|
||||
"description": "OAuth access token.",
|
||||
"type": "string",
|
||||
"location": "query"
|
||||
}
|
||||
},
|
||||
"schemas": {
|
||||
"RunMobileFriendlyTestRequest": {
|
||||
"description": "Mobile-friendly test request.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"url": {
|
||||
"description": "URL for inspection.",
|
||||
@@ -140,11 +115,11 @@
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"id": "RunMobileFriendlyTestRequest",
|
||||
"description": "Mobile-friendly test request.",
|
||||
"type": "object"
|
||||
"id": "RunMobileFriendlyTestRequest"
|
||||
},
|
||||
"Image": {
|
||||
"description": "Describe image data.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"mimeType": {
|
||||
"description": "The mime-type of the image data.",
|
||||
@@ -156,22 +131,13 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"id": "Image",
|
||||
"description": "Describe image data.",
|
||||
"type": "object"
|
||||
"id": "Image"
|
||||
},
|
||||
"MobileFriendlyIssue": {
|
||||
"description": "Mobile-friendly issue.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"rule": {
|
||||
"enumDescriptions": [
|
||||
"Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.",
|
||||
"Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).",
|
||||
"Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).",
|
||||
"Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).",
|
||||
"Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).",
|
||||
"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).",
|
||||
"Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)."
|
||||
],
|
||||
"enum": [
|
||||
"MOBILE_FRIENDLY_RULE_UNSPECIFIED",
|
||||
"USES_INCOMPATIBLE_PLUGINS",
|
||||
@@ -182,22 +148,27 @@
|
||||
"TAP_TARGETS_TOO_CLOSE"
|
||||
],
|
||||
"description": "Rule violated.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Unknown rule. Sorry, we don't have any description for the rule that was\nbroken.",
|
||||
"Plugins incompatible with mobile devices are being used. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#flash_usage).",
|
||||
"Viewsport is not specified using the meta viewport tag. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#viewport_not_configured).",
|
||||
"Viewport defined to a fixed width. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#fixed-width_viewport).",
|
||||
"Content not sized to viewport. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#content_not_sized_to_viewport).",
|
||||
"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).",
|
||||
"Touch elements are too close to each other. [Learn more]\n(https://support.google.com/webmasters/answer/6352293#touch_elements_too_close)."
|
||||
]
|
||||
}
|
||||
},
|
||||
"id": "MobileFriendlyIssue",
|
||||
"description": "Mobile-friendly issue.",
|
||||
"type": "object"
|
||||
"id": "MobileFriendlyIssue"
|
||||
},
|
||||
"RunMobileFriendlyTestResponse": {
|
||||
"description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"screenshot": {
|
||||
"$ref": "Image",
|
||||
"description": "Screenshot of the requested URL."
|
||||
},
|
||||
"testStatus": {
|
||||
"description": "Final state of the test, can be either complete or an error.",
|
||||
"$ref": "TestStatus"
|
||||
"$ref": "TestStatus",
|
||||
"description": "Final state of the test, can be either complete or an error."
|
||||
},
|
||||
"resourceIssues": {
|
||||
"description": "Information about embedded resources issues.",
|
||||
@@ -226,11 +197,13 @@
|
||||
"items": {
|
||||
"$ref": "MobileFriendlyIssue"
|
||||
}
|
||||
},
|
||||
"screenshot": {
|
||||
"description": "Screenshot of the requested URL.",
|
||||
"$ref": "Image"
|
||||
}
|
||||
},
|
||||
"id": "RunMobileFriendlyTestResponse",
|
||||
"description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.",
|
||||
"type": "object"
|
||||
"id": "RunMobileFriendlyTestResponse"
|
||||
},
|
||||
"ResourceIssue": {
|
||||
"description": "Information about a resource with issue.",
|
||||
@@ -259,12 +232,6 @@
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"status": {
|
||||
"enumDescriptions": [
|
||||
"Internal error when running this test. Please try running the test again.",
|
||||
"Inspection has completed without errors.",
|
||||
"Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
|
||||
"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."
|
||||
],
|
||||
"enum": [
|
||||
"TEST_STATUS_UNSPECIFIED",
|
||||
"COMPLETE",
|
||||
@@ -272,7 +239,13 @@
|
||||
"PAGE_UNREACHABLE"
|
||||
],
|
||||
"description": "Status of the test.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enumDescriptions": [
|
||||
"Internal error when running this test. Please try running the test again.",
|
||||
"Inspection has completed without errors.",
|
||||
"Inspection terminated in an error state. This indicates a problem in\nGoogle's infrastructure, not a user error. Please try again later.",
|
||||
"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."
|
||||
]
|
||||
},
|
||||
"details": {
|
||||
"description": "Error details if applicable.",
|
||||
@@ -282,11 +255,27 @@
|
||||
"id": "TestStatus"
|
||||
}
|
||||
},
|
||||
"icons": {
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
||||
},
|
||||
"protocol": "rest",
|
||||
"icons": {
|
||||
"x32": "http://www.google.com/images/icons/product/search-32.gif",
|
||||
"x16": "http://www.google.com/images/icons/product/search-16.gif"
|
||||
},
|
||||
"version": "v1",
|
||||
"baseUrl": "https://searchconsole.googleapis.com/"
|
||||
"baseUrl": "https://searchconsole.googleapis.com/",
|
||||
"canonicalName": "Search Console",
|
||||
"kind": "discovery#restDescription",
|
||||
"description": "Provides tools for running validation tests against single URLs",
|
||||
"servicePath": "",
|
||||
"rootUrl": "https://searchconsole.googleapis.com/",
|
||||
"basePath": "",
|
||||
"ownerDomain": "google.com",
|
||||
"name": "searchconsole",
|
||||
"batchPath": "batch",
|
||||
"id": "searchconsole:v1",
|
||||
"documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
|
||||
"revision": "20181010",
|
||||
"title": "Google Search Console URL Testing Tools API",
|
||||
"ownerName": "Google",
|
||||
"discoveryVersion": "v1",
|
||||
"version_module": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user