Index: discovery/googleapis/acceleratedmobilepageurl__v1.json |
diff --git a/discovery/googleapis/acceleratedmobilepageurl__v1.json b/discovery/googleapis/acceleratedmobilepageurl__v1.json |
index bed620587be483bffd733af0314e82649f5d6474..c02dee44b17e38fc07cff1d498ec75397e84b2cb 100644 |
--- a/discovery/googleapis/acceleratedmobilepageurl__v1.json |
+++ b/discovery/googleapis/acceleratedmobilepageurl__v1.json |
@@ -15,6 +15,22 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -36,11 +52,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"$.xgafv": { |
"description": "V1 error format.", |
"enum": [ |
@@ -54,6 +65,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -84,22 +100,6 @@ |
"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", |
@@ -123,57 +123,13 @@ |
} |
} |
}, |
- "revision": "20170224", |
+ "revision": "20170329", |
"rootUrl": "https://acceleratedmobilepageurl.googleapis.com/", |
"schemas": { |
- "BatchGetAmpUrlsResponse": { |
- "description": "Batch AMP URL response.", |
- "id": "BatchGetAmpUrlsResponse", |
- "properties": { |
- "ampUrls": { |
- "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.", |
- "items": { |
- "$ref": "AmpUrl" |
- }, |
- "type": "array" |
- }, |
- "urlErrors": { |
- "description": "The errors for requested URLs that have no AMP URL.", |
- "items": { |
- "$ref": "AmpUrlError" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
- "AmpUrl": { |
- "description": "AMP URL response for a requested URL.", |
- "id": "AmpUrl", |
- "properties": { |
- "cdnAmpUrl": { |
- "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.", |
- "type": "string" |
- }, |
- "originalUrl": { |
- "description": "The original non-AMP URL.", |
- "type": "string" |
- }, |
- "ampUrl": { |
- "description": "The AMP URL pointing to the publisher's web server.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"AmpUrlError": { |
"description": "AMP URL Error resource for a requested URL that couldn't be found.", |
"id": "AmpUrlError", |
"properties": { |
- "errorMessage": { |
- "description": "An optional descriptive error message.", |
- "type": "string" |
- }, |
"errorCode": { |
"description": "The error code of an API call.", |
"enum": [ |
@@ -197,6 +153,10 @@ |
"originalUrl": { |
"description": "The original non-AMP URL.", |
"type": "string" |
+ }, |
+ "errorMessage": { |
+ "description": "An optional descriptive error message.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -226,6 +186,46 @@ |
} |
}, |
"type": "object" |
+ }, |
+ "BatchGetAmpUrlsResponse": { |
+ "description": "Batch AMP URL response.", |
+ "id": "BatchGetAmpUrlsResponse", |
+ "properties": { |
+ "ampUrls": { |
+ "description": "For each URL in BatchAmpUrlsRequest, the URL response. The response might\nnot be in the same order as URLs in the batch request.\nIf BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated\nonly once.", |
+ "items": { |
+ "$ref": "AmpUrl" |
+ }, |
+ "type": "array" |
+ }, |
+ "urlErrors": { |
+ "description": "The errors for requested URLs that have no AMP URL.", |
+ "items": { |
+ "$ref": "AmpUrlError" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "AmpUrl": { |
+ "description": "AMP URL response for a requested URL.", |
+ "id": "AmpUrl", |
+ "properties": { |
+ "cdnAmpUrl": { |
+ "description": "The [AMP Cache URL](/amp/cache/overview#amp-cache-url-format) pointing to\nthe cached document in the Google AMP Cache.", |
+ "type": "string" |
+ }, |
+ "originalUrl": { |
+ "description": "The original non-AMP URL.", |
+ "type": "string" |
+ }, |
+ "ampUrl": { |
+ "description": "The AMP URL pointing to the publisher's web server.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
"servicePath": "", |