chore(json-update): latest json files

This also adds a usable version of the genomics API, which was empty
previously (and if I recall correctly).
This commit is contained in:
Sebastian Thiel
2015-07-21 18:36:44 +02:00
parent 152cdd848a
commit 62b63b251a
75 changed files with 23363 additions and 542 deletions

View File

@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/sCAxuVQJb4ynjZxsnsm28T2muEw\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/j0enR1Y0uYrSDV6RMbQcmkIwHg4\"",
"discoveryVersion": "v1",
"id": "webmasters:v3",
"name": "webmasters",
"version": "v3",
"revision": "20140908",
"revision": "20150624",
"title": "Webmaster Tools API",
"description": "Lets you view Google Webmaster Tools data for your verified sites.",
"ownerDomain": "google.com",
@@ -14,7 +14,7 @@
"x16": "https://www.google.com/images/icons/product/webmaster_tools-16.png",
"x32": "https://www.google.com/images/icons/product/webmaster_tools-32.png"
},
"documentationLink": "https://developers.google.com/webmaster-tools/v3/welcome",
"documentationLink": "https://developers.google.com/webmaster-tools/",
"protocol": "rest",
"baseUrl": "https://www.googleapis.com/webmasters/v3/",
"basePath": "/webmasters/v3/",
@@ -79,6 +79,123 @@
}
},
"schemas": {
"ApiDataRow": {
"id": "ApiDataRow",
"type": "object",
"properties": {
"clicks": {
"type": "number",
"format": "double"
},
"ctr": {
"type": "number",
"format": "double"
},
"impressions": {
"type": "number",
"format": "double"
},
"keys": {
"type": "array",
"items": {
"type": "string"
}
},
"position": {
"type": "number",
"format": "double"
}
}
},
"ApiDimensionFilter": {
"id": "ApiDimensionFilter",
"type": "object",
"properties": {
"dimension": {
"type": "string"
},
"expression": {
"type": "string"
},
"operator": {
"type": "string"
}
}
},
"ApiDimensionFilterGroup": {
"id": "ApiDimensionFilterGroup",
"type": "object",
"properties": {
"filters": {
"type": "array",
"items": {
"$ref": "ApiDimensionFilter"
}
},
"groupType": {
"type": "string"
}
}
},
"SearchAnalyticsQueryRequest": {
"id": "SearchAnalyticsQueryRequest",
"type": "object",
"properties": {
"aggregationType": {
"type": "string",
"description": "[Optional; Default is AUTO] How data is aggregated. If aggregated by property, all data for the same property is aggregated; if aggregated by page, all data is aggregated by canonical URI. If you filter or group by page, choose AUTO; otherwise you can aggregate either by property or by page, depending on how you want your data calculated; see the help documentation to learn how data is calculated differently by site versus by page.\n\nNote: If you group or filter by page, you cannot aggregate by property.\n\nIf you specify any value other than AUTO, the aggregation type in the result will match the requested type, or if you request an invalid type, you will get an error. The API will never change your aggregation type if the requested type is invalid."
},
"dimensionFilterGroups": {
"type": "array",
"description": "[Optional] Zero or more filters to apply to the dimension grouping values; for example, 'Country CONTAINS \"Guinea\"' to see only data where the country contains the substring \"Guinea\". You can filter by a dimension without grouping by it.",
"items": {
"$ref": "ApiDimensionFilterGroup"
}
},
"dimensions": {
"type": "array",
"description": "[Optional] Zero or more dimensions to group results by. Dimensions are the group-by values in the Search Analytics page. Dimensions are combined to create a unique row key for each row. Results are grouped in the order that you supply these dimensions.",
"items": {
"type": "string"
}
},
"endDate": {
"type": "string",
"description": "[Required] End date of the requested date range, in YYYY-MM-DD format, in PST (UTC - 8:00). Must be greater than or equal to the start date. This value is included in the range."
},
"rowLimit": {
"type": "integer",
"description": "[Optional; Default is 1000] The maximum number of rows to return. Must be a number from 1 to 1,000 (inclusive).",
"format": "int32"
},
"searchType": {
"type": "string",
"description": "[Optional; Default is WEB] The search type to filter for."
},
"startDate": {
"type": "string",
"description": "[Required] Start date of the requested date range, in YYYY-MM-DD format, in PST time (UTC - 8:00). Must be less than or equal to the end date. This value is included in the range."
}
}
},
"SearchAnalyticsQueryResponse": {
"id": "SearchAnalyticsQueryResponse",
"type": "object",
"description": "A list of rows, one per result, grouped by key. Metrics in each row are aggregated for all data grouped by that key either by page or property, as specified by the aggregation type parameter.",
"properties": {
"responseAggregationType": {
"type": "string",
"description": "How the results were aggregated."
},
"rows": {
"type": "array",
"description": "A list of rows grouped by the key values in the order given in the query.",
"items": {
"$ref": "ApiDataRow"
}
}
}
},
"SitemapsListResponse": {
"id": "SitemapsListResponse",
"type": "object",
@@ -86,7 +203,7 @@
"properties": {
"sitemap": {
"type": "array",
"description": "Information about a sitemap entry.",
"description": "Contains detailed information about a specific URL submitted as a sitemap.",
"items": {
"$ref": "WmxSitemap"
}
@@ -100,7 +217,7 @@
"properties": {
"siteEntry": {
"type": "array",
"description": "Access level information for a Webmaster Tools site.",
"description": "Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools.",
"items": {
"$ref": "WmxSite"
}
@@ -119,7 +236,7 @@
},
"timestamp": {
"type": "string",
"description": "The time (well, date) when errors were detected, in RFC 3339 format.",
"description": "The date and time when the crawl attempt took place, in RFC 3339 format.",
"format": "date-time"
}
}
@@ -142,7 +259,7 @@
},
"platform": {
"type": "string",
"description": "Corresponding to the user agent that made the request."
"description": "The general type of Googlebot that made the request (see list of Googlebot user-agents for the user-agents used)."
}
}
},
@@ -153,7 +270,7 @@
"properties": {
"countPerTypes": {
"type": "array",
"description": "The time series of the number of URL crawl errors for per error category and platform.",
"description": "The time series of the number of URL crawl errors per error category and platform.",
"items": {
"$ref": "UrlCrawlErrorCountsPerType"
}
@@ -163,6 +280,7 @@
"UrlCrawlErrorsSample": {
"id": "UrlCrawlErrorsSample",
"type": "object",
"description": "Contains information about specific crawl errors.",
"properties": {
"first_detected": {
"type": "string",
@@ -227,7 +345,7 @@
"WmxSite": {
"id": "WmxSite",
"type": "object",
"description": "Access level information for a Webmaster Tools site.",
"description": "Contains permission level information about a Webmaster Tools site. For more information, see Permissions in Webmaster Tools.",
"properties": {
"permissionLevel": {
"type": "string",
@@ -242,6 +360,7 @@
"WmxSitemap": {
"id": "WmxSitemap",
"type": "object",
"description": "Contains detailed information about a specific URL submitted as a sitemap.",
"properties": {
"contents": {
"type": "array",
@@ -252,7 +371,7 @@
},
"errors": {
"type": "string",
"description": "Number of errors in the sitemap - issues with the sitemap itself, that needs to be fixed before it can be processed correctly.",
"description": "Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly.",
"format": "int64"
},
"isPending": {
@@ -279,11 +398,11 @@
},
"type": {
"type": "string",
"description": "The type of the sitemap (for example \"sitemap\")."
"description": "The type of the sitemap. For example: rssFeed."
},
"warnings": {
"type": "string",
"description": "Number of warnings for the sitemap - issues with URLs in the sitemaps.",
"description": "Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps.",
"format": "int64"
}
}
@@ -305,12 +424,43 @@
},
"type": {
"type": "string",
"description": "The specific type of content in this sitemap (for example \"web\", \"images\")."
"description": "The specific type of content in this sitemap. For example: web."
}
}
}
},
"resources": {
"searchanalytics": {
"methods": {
"query": {
"id": "webmasters.searchanalytics.query",
"path": "sites/{siteUrl}/searchAnalytics/query",
"httpMethod": "POST",
"description": "[LIMITED ACCESS]\n\nQuery your data with filters and parameters that you define. Returns zero or more rows grouped by the row keys that you define. You must define a date range of one or more days.\n\nWhen date is one of the group by values, any days without data are omitted from the result list. If you need to know which days have data, issue a broad date range query grouped by date for any metric, and see which day rows are returned.",
"parameters": {
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"siteUrl"
],
"request": {
"$ref": "SearchAnalyticsQueryRequest"
},
"response": {
"$ref": "SearchAnalyticsQueryResponse"
},
"scopes": [
"https://www.googleapis.com/auth/webmasters",
"https://www.googleapis.com/auth/webmasters.readonly"
]
}
}
},
"sitemaps": {
"methods": {
"delete": {
@@ -321,13 +471,13 @@
"parameters": {
"feedpath": {
"type": "string",
"description": "The URL of the actual sitemap (for example http://www.example.com/sitemap.xml).",
"description": "The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml",
"required": true,
"location": "path"
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
}
@@ -348,13 +498,13 @@
"parameters": {
"feedpath": {
"type": "string",
"description": "The URL of the actual sitemap (for example http://www.example.com/sitemap.xml).",
"description": "The URL of the actual sitemap. For example: http://www.example.com/sitemap.xml",
"required": true,
"location": "path"
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
}
@@ -375,17 +525,17 @@
"id": "webmasters.sitemaps.list",
"path": "sites/{siteUrl}/sitemaps",
"httpMethod": "GET",
"description": "Lists sitemaps uploaded to the site.",
"description": "Lists the sitemaps-entries submitted for this site, or included in the sitemap index file (if sitemapIndex is specified in the request).",
"parameters": {
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
},
"sitemapIndex": {
"type": "string",
"description": "A URL of a site's sitemap index.",
"description": "A URL of a site's sitemap index. For example: http://www.example.com/sitemapindex.xml",
"location": "query"
}
},
@@ -408,13 +558,13 @@
"parameters": {
"feedpath": {
"type": "string",
"description": "The URL of the sitemap to add.",
"description": "The URL of the sitemap to add. For example: http://www.example.com/sitemap.xml",
"required": true,
"location": "path"
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
}
@@ -459,7 +609,7 @@
"parameters": {
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/",
"required": true,
"location": "path"
}
@@ -479,7 +629,7 @@
"parameters": {
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The URI of the property as defined in Search Console. Examples: http://www.example.com/ or android-app://com.example/",
"required": true,
"location": "path"
}
@@ -499,7 +649,7 @@
"id": "webmasters.sites.list",
"path": "sites",
"httpMethod": "GET",
"description": "Lists your Webmaster Tools sites.",
"description": "Lists the user's Webmaster Tools sites.",
"response": {
"$ref": "SitesListResponse"
},
@@ -520,7 +670,7 @@
"parameters": {
"category": {
"type": "string",
"description": "The crawl error category, for example 'serverError'. If not specified, we return results for all categories.",
"description": "The crawl error category. For example: serverError. If not specified, returns results for all categories.",
"enum": [
"authPermissions",
"manyToOneRedirect",
@@ -551,7 +701,7 @@
},
"platform": {
"type": "string",
"description": "The user agent type (platform) that made the request, for example 'web'. If not specified, we return results for all platforms.",
"description": "The user agent type (platform) that made the request. For example: web. If not specified, returns results for all platforms.",
"enum": [
"mobile",
"smartphoneOnly",
@@ -566,7 +716,7 @@
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
}
@@ -594,7 +744,7 @@
"parameters": {
"category": {
"type": "string",
"description": "The crawl error category, for example 'authPermissions'",
"description": "The crawl error category. For example: authPermissions",
"required": true,
"enum": [
"authPermissions",
@@ -620,7 +770,7 @@
},
"platform": {
"type": "string",
"description": "The user agent type (platform) that made the request, for example 'web'",
"description": "The user agent type (platform) that made the request. For example: web",
"required": true,
"enum": [
"mobile",
@@ -636,13 +786,13 @@
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
},
"url": {
"type": "string",
"description": "The relative path (without the site) of the sample URL; must be one of the URLs returned by list",
"description": "The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename",
"required": true,
"location": "path"
}
@@ -669,7 +819,7 @@
"parameters": {
"category": {
"type": "string",
"description": "The crawl error category, for example 'authPermissions'",
"description": "The crawl error category. For example: authPermissions",
"required": true,
"enum": [
"authPermissions",
@@ -695,7 +845,7 @@
},
"platform": {
"type": "string",
"description": "The user agent type (platform) that made the request, for example 'web'",
"description": "The user agent type (platform) that made the request. For example: web",
"required": true,
"enum": [
"mobile",
@@ -711,7 +861,7 @@
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
}
@@ -737,7 +887,7 @@
"parameters": {
"category": {
"type": "string",
"description": "The crawl error category, for example 'authPermissions'",
"description": "The crawl error category. For example: authPermissions",
"required": true,
"enum": [
"authPermissions",
@@ -763,7 +913,7 @@
},
"platform": {
"type": "string",
"description": "The user agent type (platform) that made the request, for example 'web'",
"description": "The user agent type (platform) that made the request. For example: web",
"required": true,
"enum": [
"mobile",
@@ -779,13 +929,13 @@
},
"siteUrl": {
"type": "string",
"description": "The site's URL, including protocol, for example 'http://www.example.com/'",
"description": "The site's URL, including protocol. For example: http://www.example.com/",
"required": true,
"location": "path"
},
"url": {
"type": "string",
"description": "The relative path (without the site) of the sample URL; must be one of the URLs returned by list",
"description": "The relative path (without the site) of the sample URL. It must be one of the URLs returned by list(). For example, for the URL https://www.example.com/pagename on the site https://www.example.com/, the url value is pagename",
"required": true,
"location": "path"
}