chore(api-update): to latest

Using `make update-json`, all json descriptions have been update.
Quite interesting to see that there are plenty of new ones which
are giving 404 when queried. An actual bug, or something I should
look into ?
This commit is contained in:
Sebastian Thiel
2016-09-11 10:00:21 +02:00
parent 33771a6dc7
commit 13ed4eaecb
148 changed files with 84357 additions and 3237 deletions

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/wwfdcfcbj_VTedNtsK-mpfGIz58\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/UDk0LqlPPxkx5NU81sNZcbwgkD4\"",
"discoveryVersion": "v1",
"id": "androidpublisher:v2",
"name": "androidpublisher",
"canonicalName": "Android Publisher",
"version": "v2",
"revision": "20160324",
"revision": "20160817",
"title": "Google Play Developer API",
"description": "Lets Android application developers access their Google Play accounts.",
"ownerDomain": "google.com",
@@ -208,6 +208,34 @@
}
}
},
"Comment": {
"id": "Comment",
"type": "object",
"properties": {
"developerComment": {
"$ref": "DeveloperComment",
"description": "A comment from a developer."
},
"userComment": {
"$ref": "UserComment",
"description": "A comment from a user."
}
}
},
"DeveloperComment": {
"id": "DeveloperComment",
"type": "object",
"properties": {
"lastModified": {
"$ref": "Timestamp",
"description": "The last time at which this comment was updated."
},
"text": {
"type": "string",
"description": "The content of the comment, i.e. reply body."
}
}
},
"Entitlement": {
"id": "Entitlement",
"type": "object",
@@ -753,6 +781,78 @@
}
}
},
"Review": {
"id": "Review",
"type": "object",
"properties": {
"authorName": {
"type": "string",
"description": "The name of the user who wrote the review."
},
"comments": {
"type": "array",
"description": "A repeated field containing comments for the review.",
"items": {
"$ref": "Comment"
}
},
"reviewId": {
"type": "string",
"description": "Unique identifier for this review."
}
}
},
"ReviewReplyResult": {
"id": "ReviewReplyResult",
"type": "object",
"properties": {
"lastEdited": {
"$ref": "Timestamp",
"description": "The time at which the reply took effect."
},
"replyText": {
"type": "string",
"description": "The reply text that was applied."
}
}
},
"ReviewsListResponse": {
"id": "ReviewsListResponse",
"type": "object",
"properties": {
"pageInfo": {
"$ref": "PageInfo"
},
"reviews": {
"type": "array",
"items": {
"$ref": "Review"
}
},
"tokenPagination": {
"$ref": "TokenPagination"
}
}
},
"ReviewsReplyRequest": {
"id": "ReviewsReplyRequest",
"type": "object",
"properties": {
"replyText": {
"type": "string",
"description": "The text to set as the reply. Replies of more than approximately 350 characters will be rejected. HTML tags will be stripped."
}
}
},
"ReviewsReplyResponse": {
"id": "ReviewsReplyResponse",
"type": "object",
"properties": {
"result": {
"$ref": "ReviewReplyResult"
}
}
},
"Season": {
"id": "Season",
"type": "object",
@@ -781,7 +881,7 @@
"properties": {
"desiredExpiryTimeMillis": {
"type": "string",
"description": "The desired next expiry time for the subscription in milliseconds since Epoch. The given time must be after the current expiry time for the subscription.",
"description": "The desired next expiry time to assign to the subscription, in milliseconds since the Epoch. The given time must be later/greater than the current expiry time for the subscription.",
"format": "int64"
},
"expectedExpiryTimeMillis": {
@@ -802,7 +902,7 @@
},
"cancelReason": {
"type": "integer",
"description": "The cancel reason of the subscription, if the subscription is not auto renewing. Possible values are: \n- User cancelled the subscription \n- Subscription was cancelled by the system, for example because of a billing problem",
"description": "The reason why a subscription was cancelled or is not auto-renewing. Possible values are: \n- User cancelled the subscription \n- Subscription was cancelled by the system, for example because of a billing problem",
"format": "int32"
},
"countryCode": {
@@ -815,7 +915,7 @@
},
"expiryTimeMillis": {
"type": "string",
"description": "Time at which the subscription will expire, in milliseconds since Epoch.",
"description": "Time at which the subscription will expire, in milliseconds since the Epoch.",
"format": "int64"
},
"kind": {
@@ -830,7 +930,7 @@
},
"priceAmountMicros": {
"type": "string",
"description": "Price of the subscription, not including tax. Price is expressed in micro-units, where 1,000,000 micro-units equal one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.",
"description": "Price of the subscription, not including tax. Price is expressed in micro-units, where 1,000,000 micro-units represents one unit of the currency. For example, if the subscription price is €1.99, price_amount_micros is 1990000.",
"format": "int64"
},
"priceCurrencyCode": {
@@ -839,7 +939,7 @@
},
"startTimeMillis": {
"type": "string",
"description": "Time at which the subscription was granted, in milliseconds since Epoch.",
"description": "Time at which the subscription was granted, in milliseconds since the Epoch.",
"format": "int64"
}
}
@@ -883,6 +983,20 @@
}
}
},
"Timestamp": {
"id": "Timestamp",
"type": "object",
"properties": {
"nanos": {
"type": "integer",
"format": "int32"
},
"seconds": {
"type": "string",
"format": "int64"
}
}
},
"TokenPagination": {
"id": "TokenPagination",
"type": "object",
@@ -931,6 +1045,47 @@
}
}
}
},
"UserComment": {
"id": "UserComment",
"type": "object",
"properties": {
"androidOsVersion": {
"type": "integer",
"description": "Integer Android SDK version of the user's device at the time the review was written, e.g. 23 is Marshmallow. May be absent.",
"format": "int32"
},
"appVersionCode": {
"type": "integer",
"description": "Integer version code of the app as installed at the time the review was written. May be absent.",
"format": "int32"
},
"appVersionName": {
"type": "string",
"description": "String version name of the app as installed at the time the review was written. May be absent."
},
"device": {
"type": "string",
"description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent."
},
"lastModified": {
"$ref": "Timestamp",
"description": "The last time at which this comment was updated."
},
"reviewerLanguage": {
"type": "string",
"description": "Language code for the reviewer. This is taken from the device settings so is not guaranteed to match the language the review is written in. May be absent."
},
"starRating": {
"type": "integer",
"description": "The star rating associated with the review, from 1 to 5.",
"format": "int32"
},
"text": {
"type": "string",
"description": "The content of the comment, i.e. review body. In some cases users have been able to write a review with separate title and body; in those cases the title and body are concatenated and separated by a tab character."
}
}
}
},
"resources": {
@@ -3114,6 +3269,108 @@
}
}
}
},
"reviews": {
"methods": {
"get": {
"id": "androidpublisher.reviews.get",
"path": "{packageName}/reviews/{reviewId}",
"httpMethod": "GET",
"description": "Returns a single review.",
"parameters": {
"packageName": {
"type": "string",
"description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
"required": true,
"location": "path"
},
"reviewId": {
"type": "string",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"packageName",
"reviewId"
],
"response": {
"$ref": "Review"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"list": {
"id": "androidpublisher.reviews.list",
"path": "{packageName}/reviews",
"httpMethod": "GET",
"description": "Returns a list of reviews.",
"parameters": {
"maxResults": {
"type": "integer",
"format": "uint32",
"location": "query"
},
"packageName": {
"type": "string",
"description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
"required": true,
"location": "path"
},
"startIndex": {
"type": "integer",
"format": "uint32",
"location": "query"
},
"token": {
"type": "string",
"location": "query"
}
},
"parameterOrder": [
"packageName"
],
"response": {
"$ref": "ReviewsListResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
},
"reply": {
"id": "androidpublisher.reviews.reply",
"path": "{packageName}/reviews/{reviewId}:reply",
"httpMethod": "POST",
"description": "Reply to a single review, or update an existing reply.",
"parameters": {
"packageName": {
"type": "string",
"description": "Unique identifier for the Android app for which we want reviews; for example, \"com.spiffygame\".",
"required": true,
"location": "path"
},
"reviewId": {
"type": "string",
"required": true,
"location": "path"
}
},
"parameterOrder": [
"packageName",
"reviewId"
],
"request": {
"$ref": "ReviewsReplyRequest"
},
"response": {
"$ref": "ReviewsReplyResponse"
},
"scopes": [
"https://www.googleapis.com/auth/androidpublisher"
]
}
}
}
}
}