on develop help sign in
Regenerating gogol-acceleratedmobilepageurl from latest service definition
commitf89777f8b0a8bcdfb01f7e42da2e4de6d4a16eb7 authorBrendan Hay <brendan.g.hay@gmail.com> dateTue 25 Oct 2016, 11:37 (10 years ago) parent4fd7579
1 file changed+21−9
gen/model/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json+21−9
gen/model/acceleratedmobilepageurl/v1/acceleratedmobilepageurl-api.json+21−9
@@ -1,8 +1,8 @@
11{
22 "id": "acceleratedmobilepageurl:v1",
3− "description": "This API contains a single method, [batchGet](/amp/cache/reference/acceleratedmobilepageurl/rest/v1/ampUrls/batchGet). Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s). For more information, see [Link to AMP Content](/amp/cache/use-amp-url).\n",
3+ "description": "This API contains a single method, batchGet. Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s).\n",
44 "protocol": "rest",
5− "title": "Accelerated Mobile Page (AMP) URL API",
5+ "title": "Accelerated Mobile Pages (AMP) URL API",
66 "resources": {
77 "ampUrls": {
88 "methods": {
@@ -38,7 +38,7 @@
3838 "type": "string"
3939 },
4040 "cdnAmpUrl": {
41− "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to the cached document in the Google AMP Cache.",
41+ "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.",
4242 "type": "string"
4343 }
4444 },
@@ -64,11 +64,11 @@
6464 ],
6565 "enumDescriptions": [
6666 "Not specified error.",
67− "Indicates the requested URL is not found in the index.",
68− "Indicates no AMP URL has been found in the HTML of the requested URL.",
67+ "Indicates the requested URL is not found in the index, possibly because\nit's unable to be found, not able to be accessed by Googlebot, or some\nother error.",
68+ "Indicates no AMP URL has been found that corresponds to the requested\nURL.",
6969 "Indicates some kind of application error occurred at the server.\nClient advised to retry.",
70− "Indicates the requested URL is a valid AMP URL.",
71− "Indicates that the requested URL is an invalid AMP URL."
70+ "DEPRECATED: Indicates the requested URL is a valid AMP URL. This is a\nnon-error state, should not be relied upon as a sign of success or\nfailure. It will be removed in future versions of the API.",
71+ "Indicates that an AMP URL has been found that corresponds to the request\nURL, but it is not valid AMP HTML."
7272 ],
7373 "type": "string"
7474 },
@@ -83,8 +83,20 @@
8383 "description": "AMP URL request for a batch of URLs.",
8484 "type": "object",
8585 "properties": {
86+ "lookupStrategy": {
87+ "description": "The lookup_strategy being requested.",
88+ "enum": [
89+ "FETCH_LIVE_DOC",
90+ "IN_INDEX_DOC"
91+ ],
92+ "enumDescriptions": [
93+ "FETCH_LIVE_DOC strategy involves live document fetch of URLs not found in\nthe index. Any request URL not found in the index is crawled in realtime\nto validate if there is a corresponding AMP URL. This strategy has higher\ncoverage but with extra latency introduced by realtime crawling. This is\nthe default strategy. Applications using this strategy should set higher\nHTTP timeouts of the API calls.",
94+ "IN_INDEX_DOC strategy skips fetching live documents of URL(s) not found\nin index. For applications which need low latency use of IN_INDEX_DOC\nstrategy is recommended."
95+ ],
96+ "type": "string"
97+ },
8698 "urls": {
87− "description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 10 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
99+ "description": "List of URLs to look up for the paired AMP URLs.\nThe URLs are case-sensitive. Up to 50 URLs per lookup\n(see [Usage Limits](/amp/cache/reference/limits)).",
88100 "type": "array",
89101 "items": {
90102 "type": "string"
@@ -115,7 +127,7 @@
115127 "id": "BatchGetAmpUrlsResponse"
116128 }
117129 },
118− "revision": "20160518",
130+ "revision": "20160928",
119131 "basePath": "",
120132 "icons": {
121133 "x32": "http://www.google.com/images/icons/product/search-32.gif",