on develop help sign in
Updating androidpublisher service definition
commitce4c4221cd6e17266e8e6fad83f18c9948833ac7 authorBrendan Hay <brendan.g.hay@gmail.com> dateSat 11 Feb 2017, 11:26 (10 years ago) parent54e73d1
1 file changed+180−2
gen/model/androidpublisher/v2/androidpublisher-api.json+180−2
gen/model/androidpublisher/v2/androidpublisher-api.json+180−2
@@ -1,12 +1,12 @@
11{
22 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/lK1rSeSt4REctli37J8Co4N4a5s\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/wBOBQg7Gs1S9CwApK0nCAqVzk_Y\"",
44 "discoveryVersion": "v1",
55 "id": "androidpublisher:v2",
66 "name": "androidpublisher",
77 "canonicalName": "Android Publisher",
88 "version": "v2",
9− "revision": "20161017",
9+ "revision": "20170105",
1010 "title": "Google Play Developer API",
1111 "description": "Lets Android application developers access their Google Play accounts.",
1212 "ownerDomain": "google.com",
@@ -256,6 +256,61 @@
256256 }
257257 }
258258 },
259+ "DeviceMetadata": {
260+ "id": "DeviceMetadata",
261+ "type": "object",
262+ "properties": {
263+ "cpuMake": {
264+ "type": "string",
265+ "description": "Device CPU make e.g. \"Qualcomm\""
266+ },
267+ "cpuModel": {
268+ "type": "string",
269+ "description": "Device CPU model e.g. \"MSM8974\""
270+ },
271+ "deviceClass": {
272+ "type": "string",
273+ "description": "Device class (e.g. tablet)"
274+ },
275+ "glEsVersion": {
276+ "type": "integer",
277+ "description": "OpenGL version",
278+ "format": "int32"
279+ },
280+ "manufacturer": {
281+ "type": "string",
282+ "description": "Device manufacturer (e.g. Motorola)"
283+ },
284+ "nativePlatform": {
285+ "type": "string",
286+ "description": "Comma separated list of native platforms (e.g. \"arm\", \"arm7\")"
287+ },
288+ "productName": {
289+ "type": "string",
290+ "description": "Device model name (e.g. Droid)"
291+ },
292+ "ramMb": {
293+ "type": "integer",
294+ "description": "Device RAM in Megabytes e.g. \"2048\"",
295+ "format": "int32"
296+ },
297+ "screenDensityDpi": {
298+ "type": "integer",
299+ "description": "Screen density in DPI",
300+ "format": "int32"
301+ },
302+ "screenHeightPx": {
303+ "type": "integer",
304+ "description": "Screen height in pixels",
305+ "format": "int32"
306+ },
307+ "screenWidthPx": {
308+ "type": "integer",
309+ "description": "Screen width in pixels",
310+ "format": "int32"
311+ }
312+ }
313+ },
259314 "Entitlement": {
260315 "id": "Entitlement",
261316 "type": "object",
@@ -1088,10 +1143,18 @@
10881143 "type": "string",
10891144 "description": "Codename for the reviewer's device, e.g. klte, flounder. May be absent."
10901145 },
1146+ "deviceMetadata": {
1147+ "$ref": "DeviceMetadata",
1148+ "description": "Some information about the characteristics of the user's device"
1149+ },
10911150 "lastModified": {
10921151 "$ref": "Timestamp",
10931152 "description": "The last time at which this comment was updated."
10941153 },
1154+ "originalText": {
1155+ "type": "string",
1156+ "description": "Untranslated text of the review, in the case where the review has been translated. If the review has not been translated this is left blank."
1157+ },
10951158 "reviewerLanguage": {
10961159 "type": "string",
10971160 "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."
@@ -1104,6 +1167,60 @@
11041167 "text": {
11051168 "type": "string",
11061169 "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."
1170+ },
1171+ "thumbsDownCount": {
1172+ "type": "integer",
1173+ "description": "Number of users who have given this review a thumbs down",
1174+ "format": "int32"
1175+ },
1176+ "thumbsUpCount": {
1177+ "type": "integer",
1178+ "description": "Number of users who have given this review a thumbs up",
1179+ "format": "int32"
1180+ }
1181+ }
1182+ },
1183+ "VoidedPurchase": {
1184+ "id": "VoidedPurchase",
1185+ "type": "object",
1186+ "description": "A VoidedPurchase resource indicates a purchase that was either cancelled/refunded/charged-back.",
1187+ "properties": {
1188+ "kind": {
1189+ "type": "string",
1190+ "description": "This kind represents a voided purchase object in the androidpublisher service.",
1191+ "default": "androidpublisher#voidedPurchase"
1192+ },
1193+ "purchaseTimeMillis": {
1194+ "type": "string",
1195+ "description": "The time at which the purchase was made, in milliseconds since the epoch (Jan 1, 1970).",
1196+ "format": "int64"
1197+ },
1198+ "purchaseToken": {
1199+ "type": "string",
1200+ "description": "The token that was generated when a purchase was made. This uniquely identifies a purchase."
1201+ },
1202+ "voidedTimeMillis": {
1203+ "type": "string",
1204+ "description": "The time at which the purchase was cancelled/refunded/charged-back, in milliseconds since the epoch (Jan 1, 1970).",
1205+ "format": "int64"
1206+ }
1207+ }
1208+ },
1209+ "VoidedPurchasesListResponse": {
1210+ "id": "VoidedPurchasesListResponse",
1211+ "type": "object",
1212+ "properties": {
1213+ "pageInfo": {
1214+ "$ref": "PageInfo"
1215+ },
1216+ "tokenPagination": {
1217+ "$ref": "TokenPagination"
1218+ },
1219+ "voidedPurchases": {
1220+ "type": "array",
1221+ "items": {
1222+ "$ref": "VoidedPurchase"
1223+ }
11071224 }
11081225 }
11091226 }
@@ -3358,6 +3475,59 @@
33583475 ]
33593476 }
33603477 }
3478+ },
3479+ "voidedpurchases": {
3480+ "methods": {
3481+ "list": {
3482+ "id": "androidpublisher.purchases.voidedpurchases.list",
3483+ "path": "{packageName}/purchases/voidedpurchases",
3484+ "httpMethod": "GET",
3485+ "description": "Lists the purchases that were cancelled, refunded or charged-back.",
3486+ "parameters": {
3487+ "endTime": {
3488+ "type": "string",
3489+ "description": "The time, in milliseconds since the Epoch, of the newest voided in-app product purchase that you want to see in the response. The value of this parameter cannot be greater than the current time and is ignored if a pagination token is set. Default value is current time.",
3490+ "format": "int64",
3491+ "location": "query"
3492+ },
3493+ "maxResults": {
3494+ "type": "integer",
3495+ "format": "uint32",
3496+ "location": "query"
3497+ },
3498+ "packageName": {
3499+ "type": "string",
3500+ "description": "The package name of the application for which voided purchases need to be returned (for example, 'com.some.thing').",
3501+ "required": true,
3502+ "location": "path"
3503+ },
3504+ "startIndex": {
3505+ "type": "integer",
3506+ "format": "uint32",
3507+ "location": "query"
3508+ },
3509+ "startTime": {
3510+ "type": "string",
3511+ "description": "The time, in milliseconds since the Epoch, of the oldest voided in-app product purchase that you want to see in the response. The value of this parameter cannot be older than 30 days and is ignored if a pagination token is set. Default value is current time minus 30 days.",
3512+ "format": "int64",
3513+ "location": "query"
3514+ },
3515+ "token": {
3516+ "type": "string",
3517+ "location": "query"
3518+ }
3519+ },
3520+ "parameterOrder": [
3521+ "packageName"
3522+ ],
3523+ "response": {
3524+ "$ref": "VoidedPurchasesListResponse"
3525+ },
3526+ "scopes": [
3527+ "https://www.googleapis.com/auth/androidpublisher"
3528+ ]
3529+ }
3530+ }
33613531 }
33623532 }
33633533 },
@@ -3379,6 +3549,10 @@
33793549 "type": "string",
33803550 "required": true,
33813551 "location": "path"
3552+ },
3553+ "translationLanguage": {
3554+ "type": "string",
3555+ "location": "query"
33823556 }
33833557 },
33843558 "parameterOrder": [
@@ -3417,6 +3591,10 @@
34173591 "token": {
34183592 "type": "string",
34193593 "location": "query"
3594+ },
3595+ "translationLanguage": {
3596+ "type": "string",
3597+ "location": "query"
34203598 }
34213599 },
34223600 "parameterOrder": [