Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1031)

Unified Diff: discovery/googleapis/searchconsole__v1.json

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/script__v1.json ('k') | discovery/googleapis/servicecontrol__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/searchconsole__v1.json
diff --git a/discovery/googleapis/searchconsole__v1.json b/discovery/googleapis/searchconsole__v1.json
new file mode 100644
index 0000000000000000000000000000000000000000..ab345510258953acc833471f332f592b35f934ba
--- /dev/null
+++ b/discovery/googleapis/searchconsole__v1.json
@@ -0,0 +1,290 @@
+{
+ "basePath": "",
+ "baseUrl": "https://searchconsole.googleapis.com/",
+ "batchPath": "batch",
+ "canonicalName": "Search Console",
+ "description": "Provides tools for running validation tests against single URLs",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/webmaster-tools/search-console-api/",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/product/search-16.gif",
+ "x32": "http://www.google.com/images/icons/product/search-32.gif"
+ },
+ "id": "searchconsole:v1",
+ "kind": "discovery#restDescription",
+ "name": "searchconsole",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "upload_protocol": {
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "location": "query",
+ "type": "string"
+ },
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
+ "$.xgafv": {
+ "description": "V1 error format.",
+ "enum": [
+ "1",
+ "2"
+ ],
+ "enumDescriptions": [
+ "v1 error format",
+ "v2 error format"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "alt": {
+ "default": "json",
+ "description": "Data format for response.",
+ "enum": [
+ "json",
+ "media",
+ "proto"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json",
+ "Media download with context-dependent Content-Type",
+ "Responses with Content-Type of application/x-protobuf"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "access_token": {
+ "description": "OAuth access token.",
+ "location": "query",
+ "type": "string"
+ },
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "pp": {
+ "default": "true",
+ "description": "Pretty-print response.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "bearer_token": {
+ "description": "OAuth bearer token.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "urlTestingTools": {
+ "resources": {
+ "mobileFriendlyTest": {
+ "methods": {
+ "run": {
+ "description": "Runs Mobile-Friendly Test for a given URL.",
+ "httpMethod": "POST",
+ "id": "searchconsole.urlTestingTools.mobileFriendlyTest.run",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/urlTestingTools/mobileFriendlyTest:run",
+ "request": {
+ "$ref": "RunMobileFriendlyTestRequest"
+ },
+ "response": {
+ "$ref": "RunMobileFriendlyTestResponse"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20170212",
+ "rootUrl": "https://searchconsole.googleapis.com/",
+ "schemas": {
+ "RunMobileFriendlyTestResponse": {
+ "description": "Mobile-friendly test response, including mobile-friendly issues and resource\nissues.",
+ "id": "RunMobileFriendlyTestResponse",
+ "properties": {
+ "testStatus": {
+ "$ref": "TestStatus",
+ "description": "Final state of the test, can be either complete or an error."
+ },
+ "resourceIssues": {
+ "description": "Information about embedded resources issues.",
+ "items": {
+ "$ref": "ResourceIssue"
+ },
+ "type": "array"
+ },
+ "mobileFriendliness": {
+ "description": "Test verdict, whether the page is mobile friendly or not.",
+ "enum": [
+ "MOBILE_FRIENDLY_TEST_RESULT_UNSPECIFIED",
+ "MOBILE_FRIENDLY",
+ "NOT_MOBILE_FRIENDLY"
+ ],
+ "enumDescriptions": [
+ "Internal error when running this test. Please try running the test again.",
+ "The page is mobile friendly.",
+ "The page is not mobile friendly."
+ ],
+ "type": "string"
+ },
+ "mobileFriendlyIssues": {
+ "description": "List of mobile-usability issues.",
+ "items": {
+ "$ref": "MobileFriendlyIssue"
+ },
+ "type": "array"
+ },
+ "screenshot": {
+ "$ref": "Image",
+ "description": "Screenshot of the requested URL."
+ }
+ },
+ "type": "object"
+ },
+ "ResourceIssue": {
+ "description": "Information about a resource with issue.",
+ "id": "ResourceIssue",
+ "properties": {
+ "blockedResource": {
+ "$ref": "BlockedResource",
+ "description": "Describes a blocked resource issue."
+ }
+ },
+ "type": "object"
+ },
+ "BlockedResource": {
+ "description": "Blocked resource.",
+ "id": "BlockedResource",
+ "properties": {
+ "url": {
+ "description": "URL of the blocked resource.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "TestStatus": {
+ "description": "Final state of the test, including error details if necessary.",
+ "id": "TestStatus",
+ "properties": {
+ "status": {
+ "description": "Status of the test.",
+ "enum": [
+ "TEST_STATUS_UNSPECIFIED",
+ "COMPLETE",
+ "INTERNAL_ERROR",
+ "PAGE_UNREACHABLE"
+ ],
+ "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."
+ ],
+ "type": "string"
+ },
+ "details": {
+ "description": "Error details if applicable.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "RunMobileFriendlyTestRequest": {
+ "description": "Mobile-friendly test request.",
+ "id": "RunMobileFriendlyTestRequest",
+ "properties": {
+ "url": {
+ "description": "URL for inspection.",
+ "type": "string"
+ },
+ "requestScreenshot": {
+ "description": "Whether or not screenshot is requested. Default is false.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Image": {
+ "description": "Describe image data.",
+ "id": "Image",
+ "properties": {
+ "mimeType": {
+ "description": "The mime-type of the image data.",
+ "type": "string"
+ },
+ "data": {
+ "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.",
+ "format": "byte",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MobileFriendlyIssue": {
+ "description": "Mobile-friendly issue.",
+ "id": "MobileFriendlyIssue",
+ "properties": {
+ "rule": {
+ "description": "Rule violated.",
+ "enum": [
+ "MOBILE_FRIENDLY_RULE_UNSPECIFIED",
+ "USES_INCOMPATIBLE_PLUGINS",
+ "CONFIGURE_VIEWPORT",
+ "FIXED_WIDTH_VIEWPORT",
+ "SIZE_CONTENT_TO_VIEWPORT",
+ "USE_LEGIBLE_FONT_SIZES",
+ "TAP_TARGETS_TOO_CLOSE"
+ ],
+ "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)."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "",
+ "title": "Google Search Console URL Testing Tools API",
+ "version": "v1"
+}
« no previous file with comments | « discovery/googleapis/script__v1.json ('k') | discovery/googleapis/servicecontrol__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698