~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/google.golang.org/api/androidpublisher/v2/androidpublisher-api.json

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
 "kind": "discovery#restDescription",
 
3
 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/DrMyiBR493_IBfZvqlikbYuZEB0\"",
 
4
 "discoveryVersion": "v1",
 
5
 "id": "androidpublisher:v2",
 
6
 "name": "androidpublisher",
 
7
 "canonicalName": "Android Publisher",
 
8
 "version": "v2",
 
9
 "revision": "20141022",
 
10
 "title": "Google Play Android Developer API",
 
11
 "description": "Lets Android application developers access their Google Play accounts.",
 
12
 "ownerDomain": "google.com",
 
13
 "ownerName": "Google",
 
14
 "icons": {
 
15
  "x16": "https://www.google.com/images/icons/product/android-16.png",
 
16
  "x32": "https://www.google.com/images/icons/product/android-32.png"
 
17
 },
 
18
 "documentationLink": "https://developers.google.com/android-publisher",
 
19
 "protocol": "rest",
 
20
 "baseUrl": "https://www.googleapis.com/androidpublisher/v2/applications/",
 
21
 "basePath": "/androidpublisher/v2/applications/",
 
22
 "rootUrl": "https://www.googleapis.com/",
 
23
 "servicePath": "androidpublisher/v2/applications/",
 
24
 "batchPath": "batch",
 
25
 "parameters": {
 
26
  "alt": {
 
27
   "type": "string",
 
28
   "description": "Data format for the response.",
 
29
   "default": "json",
 
30
   "enum": [
 
31
    "json"
 
32
   ],
 
33
   "enumDescriptions": [
 
34
    "Responses with Content-Type of application/json"
 
35
   ],
 
36
   "location": "query"
 
37
  },
 
38
  "fields": {
 
39
   "type": "string",
 
40
   "description": "Selector specifying which fields to include in a partial response.",
 
41
   "location": "query"
 
42
  },
 
43
  "key": {
 
44
   "type": "string",
 
45
   "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
 
46
   "location": "query"
 
47
  },
 
48
  "oauth_token": {
 
49
   "type": "string",
 
50
   "description": "OAuth 2.0 token for the current user.",
 
51
   "location": "query"
 
52
  },
 
53
  "prettyPrint": {
 
54
   "type": "boolean",
 
55
   "description": "Returns response with indentations and line breaks.",
 
56
   "default": "true",
 
57
   "location": "query"
 
58
  },
 
59
  "quotaUser": {
 
60
   "type": "string",
 
61
   "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. Overrides userIp if both are provided.",
 
62
   "location": "query"
 
63
  },
 
64
  "userIp": {
 
65
   "type": "string",
 
66
   "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
 
67
   "location": "query"
 
68
  }
 
69
 },
 
70
 "auth": {
 
71
  "oauth2": {
 
72
   "scopes": {
 
73
    "https://www.googleapis.com/auth/androidpublisher": {
 
74
     "description": "View and manage your Google Play Android Developer account"
 
75
    }
 
76
   }
 
77
  }
 
78
 },
 
79
 "schemas": {
 
80
  "Apk": {
 
81
   "id": "Apk",
 
82
   "type": "object",
 
83
   "properties": {
 
84
    "binary": {
 
85
     "$ref": "ApkBinary",
 
86
     "description": "Information about the binary payload of this APK."
 
87
    },
 
88
    "versionCode": {
 
89
     "type": "integer",
 
90
     "description": "The version code of the APK, as specified in the APK's manifest file.",
 
91
     "format": "int32"
 
92
    }
 
93
   }
 
94
  },
 
95
  "ApkBinary": {
 
96
   "id": "ApkBinary",
 
97
   "type": "object",
 
98
   "description": "Represents the binary payload of an APK.",
 
99
   "properties": {
 
100
    "sha1": {
 
101
     "type": "string",
 
102
     "description": "A sha1 hash of the APK payload, encoded as a hex string and matching the output of the sha1sum command."
 
103
    }
 
104
   }
 
105
  },
 
106
  "ApkListing": {
 
107
   "id": "ApkListing",
 
108
   "type": "object",
 
109
   "properties": {
 
110
    "language": {
 
111
     "type": "string",
 
112
     "description": "The language code, in BCP 47 format (eg \"en-US\")."
 
113
    },
 
114
    "recentChanges": {
 
115
     "type": "string",
 
116
     "description": "Describe what's new in your APK."
 
117
    }
 
118
   }
 
119
  },
 
120
  "ApkListingsListResponse": {
 
121
   "id": "ApkListingsListResponse",
 
122
   "type": "object",
 
123
   "properties": {
 
124
    "kind": {
 
125
     "type": "string",
 
126
     "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#apkListingsListResponse\".",
 
127
     "default": "androidpublisher#apkListingsListResponse"
 
128
    },
 
129
    "listings": {
 
130
     "type": "array",
 
131
     "items": {
 
132
      "$ref": "ApkListing"
 
133
     }
 
134
    }
 
135
   }
 
136
  },
 
137
  "ApksListResponse": {
 
138
   "id": "ApksListResponse",
 
139
   "type": "object",
 
140
   "properties": {
 
141
    "apks": {
 
142
     "type": "array",
 
143
     "items": {
 
144
      "$ref": "Apk"
 
145
     }
 
146
    },
 
147
    "kind": {
 
148
     "type": "string",
 
149
     "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#apksListResponse\".",
 
150
     "default": "androidpublisher#apksListResponse"
 
151
    }
 
152
   }
 
153
  },
 
154
  "AppDetails": {
 
155
   "id": "AppDetails",
 
156
   "type": "object",
 
157
   "properties": {
 
158
    "contactEmail": {
 
159
     "type": "string",
 
160
     "description": "The user-visible support email for this app."
 
161
    },
 
162
    "contactPhone": {
 
163
     "type": "string",
 
164
     "description": "The user-visible support telephone number for this app."
 
165
    },
 
166
    "contactWebsite": {
 
167
     "type": "string",
 
168
     "description": "The user-visible website for this app."
 
169
    },
 
170
    "defaultLanguage": {
 
171
     "type": "string",
 
172
     "description": "Default language code, in BCP 47 format (eg \"en-US\")."
 
173
    }
 
174
   }
 
175
  },
 
176
  "AppEdit": {
 
177
   "id": "AppEdit",
 
178
   "type": "object",
 
179
   "description": "Represents an edit of an app. An edit allows clients to make multiple changes before committing them in one operation.",
 
180
   "properties": {
 
181
    "expiryTimeSeconds": {
 
182
     "type": "string",
 
183
     "description": "The time at which the edit will expire and will be no longer valid for use in any subsequent API calls (encoded as seconds since the Epoch)."
 
184
    },
 
185
    "id": {
 
186
     "type": "string",
 
187
     "description": "The ID of the edit that can be used in subsequent API calls."
 
188
    }
 
189
   }
 
190
  },
 
191
  "ExpansionFile": {
 
192
   "id": "ExpansionFile",
 
193
   "type": "object",
 
194
   "properties": {
 
195
    "fileSize": {
 
196
     "type": "string",
 
197
     "description": "If set this field indicates that this APK has an Expansion File uploaded to it: this APK does not reference another APK's Expansion File. The field's value is the size of the uploaded Expansion File in bytes.",
 
198
     "format": "int64"
 
199
    },
 
200
    "referencesVersion": {
 
201
     "type": "integer",
 
202
     "description": "If set this APK's Expansion File references another APK's Expansion File. The file_size field will not be set.",
 
203
     "format": "int32"
 
204
    }
 
205
   }
 
206
  },
 
207
  "ExpansionFilesUploadResponse": {
 
208
   "id": "ExpansionFilesUploadResponse",
 
209
   "type": "object",
 
210
   "properties": {
 
211
    "expansionFile": {
 
212
     "$ref": "ExpansionFile"
 
213
    }
 
214
   }
 
215
  },
 
216
  "Image": {
 
217
   "id": "Image",
 
218
   "type": "object",
 
219
   "properties": {
 
220
    "id": {
 
221
     "type": "string",
 
222
     "description": "A unique id representing this image."
 
223
    },
 
224
    "sha1": {
 
225
     "type": "string",
 
226
     "description": "A sha1 hash of the image that was uploaded."
 
227
    },
 
228
    "url": {
 
229
     "type": "string",
 
230
     "description": "A URL that will serve a preview of the image."
 
231
    }
 
232
   }
 
233
  },
 
234
  "ImagesDeleteAllResponse": {
 
235
   "id": "ImagesDeleteAllResponse",
 
236
   "type": "object",
 
237
   "properties": {
 
238
    "deleted": {
 
239
     "type": "array",
 
240
     "items": {
 
241
      "$ref": "Image"
 
242
     }
 
243
    }
 
244
   }
 
245
  },
 
246
  "ImagesListResponse": {
 
247
   "id": "ImagesListResponse",
 
248
   "type": "object",
 
249
   "properties": {
 
250
    "images": {
 
251
     "type": "array",
 
252
     "items": {
 
253
      "$ref": "Image"
 
254
     }
 
255
    }
 
256
   }
 
257
  },
 
258
  "ImagesUploadResponse": {
 
259
   "id": "ImagesUploadResponse",
 
260
   "type": "object",
 
261
   "properties": {
 
262
    "image": {
 
263
     "$ref": "Image"
 
264
    }
 
265
   }
 
266
  },
 
267
  "InAppProduct": {
 
268
   "id": "InAppProduct",
 
269
   "type": "object",
 
270
   "properties": {
 
271
    "defaultLanguage": {
 
272
     "type": "string",
 
273
     "description": "The default language of the localized data, as defined by BCP 47. e.g. \"en-US\", \"en-GB\"."
 
274
    },
 
275
    "defaultPrice": {
 
276
     "$ref": "Price",
 
277
     "description": "Default price cannot be zero. In-app products can never be free. Default price is always in the developer's Checkout merchant currency."
 
278
    },
 
279
    "listings": {
 
280
     "type": "object",
 
281
     "description": "List of localized title and description data.",
 
282
     "additionalProperties": {
 
283
      "$ref": "InAppProductListing",
 
284
      "description": "The language of the localized data, as defined by BCP 47. i.e.: \"en-US\", \"en-GB\"."
 
285
     }
 
286
    },
 
287
    "packageName": {
 
288
     "type": "string",
 
289
     "description": "The package name of the parent app."
 
290
    },
 
291
    "prices": {
 
292
     "type": "object",
 
293
     "description": "Prices per buyer region. None of these prices should be zero. In-app products can never be free.",
 
294
     "additionalProperties": {
 
295
      "$ref": "Price",
 
296
      "description": "Region code, as defined by ISO 3166-2."
 
297
     }
 
298
    },
 
299
    "purchaseType": {
 
300
     "type": "string",
 
301
     "description": "Purchase type enum value. Unmodifiable after creation."
 
302
    },
 
303
    "season": {
 
304
     "$ref": "Season",
 
305
     "description": "Definition of a season for a seasonal subscription. Can be defined only for yearly subscriptions."
 
306
    },
 
307
    "sku": {
 
308
     "type": "string",
 
309
     "description": "The stock-keeping-unit (SKU) of the product, unique within an app."
 
310
    },
 
311
    "status": {
 
312
     "type": "string"
 
313
    },
 
314
    "subscriptionPeriod": {
 
315
     "type": "string",
 
316
     "description": "The period of the subscription (if any), i.e. period at which payments must happen. Defined as ISO 8601 duration, i.e. \"P1M\" for 1 month period."
 
317
    },
 
318
    "trialPeriod": {
 
319
     "type": "string",
 
320
     "description": "Trial period, specified in ISO 8601 format. Acceptable values are anything between \"P7D\" (seven days) and \"P999D\" (999 days). Seasonal subscriptions cannot have a trial period."
 
321
    }
 
322
   }
 
323
  },
 
324
  "InAppProductListing": {
 
325
   "id": "InAppProductListing",
 
326
   "type": "object",
 
327
   "properties": {
 
328
    "description": {
 
329
     "type": "string"
 
330
    },
 
331
    "title": {
 
332
     "type": "string"
 
333
    }
 
334
   }
 
335
  },
 
336
  "InappproductsBatchRequest": {
 
337
   "id": "InappproductsBatchRequest",
 
338
   "type": "object",
 
339
   "properties": {
 
340
    "entrys": {
 
341
     "type": "array",
 
342
     "items": {
 
343
      "$ref": "InappproductsBatchRequestEntry"
 
344
     }
 
345
    }
 
346
   }
 
347
  },
 
348
  "InappproductsBatchRequestEntry": {
 
349
   "id": "InappproductsBatchRequestEntry",
 
350
   "type": "object",
 
351
   "properties": {
 
352
    "batchId": {
 
353
     "type": "integer",
 
354
     "format": "uint32"
 
355
    },
 
356
    "inappproductsinsertrequest": {
 
357
     "$ref": "InappproductsInsertRequest"
 
358
    },
 
359
    "inappproductsupdaterequest": {
 
360
     "$ref": "InappproductsUpdateRequest"
 
361
    },
 
362
    "methodName": {
 
363
     "type": "string"
 
364
    }
 
365
   }
 
366
  },
 
367
  "InappproductsBatchResponse": {
 
368
   "id": "InappproductsBatchResponse",
 
369
   "type": "object",
 
370
   "properties": {
 
371
    "entrys": {
 
372
     "type": "array",
 
373
     "items": {
 
374
      "$ref": "InappproductsBatchResponseEntry"
 
375
     }
 
376
    },
 
377
    "kind": {
 
378
     "type": "string",
 
379
     "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#inappproductsBatchResponse\".",
 
380
     "default": "androidpublisher#inappproductsBatchResponse"
 
381
    }
 
382
   }
 
383
  },
 
384
  "InappproductsBatchResponseEntry": {
 
385
   "id": "InappproductsBatchResponseEntry",
 
386
   "type": "object",
 
387
   "properties": {
 
388
    "batchId": {
 
389
     "type": "integer",
 
390
     "format": "uint32"
 
391
    },
 
392
    "inappproductsinsertresponse": {
 
393
     "$ref": "InappproductsInsertResponse"
 
394
    },
 
395
    "inappproductsupdateresponse": {
 
396
     "$ref": "InappproductsUpdateResponse"
 
397
    }
 
398
   }
 
399
  },
 
400
  "InappproductsInsertRequest": {
 
401
   "id": "InappproductsInsertRequest",
 
402
   "type": "object",
 
403
   "properties": {
 
404
    "inappproduct": {
 
405
     "$ref": "InAppProduct"
 
406
    }
 
407
   }
 
408
  },
 
409
  "InappproductsInsertResponse": {
 
410
   "id": "InappproductsInsertResponse",
 
411
   "type": "object",
 
412
   "properties": {
 
413
    "inappproduct": {
 
414
     "$ref": "InAppProduct"
 
415
    }
 
416
   }
 
417
  },
 
418
  "InappproductsListResponse": {
 
419
   "id": "InappproductsListResponse",
 
420
   "type": "object",
 
421
   "properties": {
 
422
    "inappproduct": {
 
423
     "type": "array",
 
424
     "items": {
 
425
      "$ref": "InAppProduct"
 
426
     }
 
427
    },
 
428
    "kind": {
 
429
     "type": "string",
 
430
     "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#inappproductsListResponse\".",
 
431
     "default": "androidpublisher#inappproductsListResponse"
 
432
    },
 
433
    "pageInfo": {
 
434
     "$ref": "PageInfo"
 
435
    },
 
436
    "tokenPagination": {
 
437
     "$ref": "TokenPagination"
 
438
    }
 
439
   }
 
440
  },
 
441
  "InappproductsUpdateRequest": {
 
442
   "id": "InappproductsUpdateRequest",
 
443
   "type": "object",
 
444
   "properties": {
 
445
    "inappproduct": {
 
446
     "$ref": "InAppProduct"
 
447
    }
 
448
   }
 
449
  },
 
450
  "InappproductsUpdateResponse": {
 
451
   "id": "InappproductsUpdateResponse",
 
452
   "type": "object",
 
453
   "properties": {
 
454
    "inappproduct": {
 
455
     "$ref": "InAppProduct"
 
456
    }
 
457
   }
 
458
  },
 
459
  "Listing": {
 
460
   "id": "Listing",
 
461
   "type": "object",
 
462
   "properties": {
 
463
    "fullDescription": {
 
464
     "type": "string",
 
465
     "description": "Full description of the app; this may be up to 4000 characters in length."
 
466
    },
 
467
    "language": {
 
468
     "type": "string",
 
469
     "description": "Language localization code (for example, \"de-AT\" for Austrian German)."
 
470
    },
 
471
    "shortDescription": {
 
472
     "type": "string",
 
473
     "description": "Short description of the app (previously known as promo text); this may be up to 80 characters in length."
 
474
    },
 
475
    "title": {
 
476
     "type": "string",
 
477
     "description": "App's localized title."
 
478
    },
 
479
    "video": {
 
480
     "type": "string",
 
481
     "description": "URL of a promotional YouTube video for the app."
 
482
    }
 
483
   }
 
484
  },
 
485
  "ListingsListResponse": {
 
486
   "id": "ListingsListResponse",
 
487
   "type": "object",
 
488
   "properties": {
 
489
    "kind": {
 
490
     "type": "string",
 
491
     "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#listingsListResponse\".",
 
492
     "default": "androidpublisher#listingsListResponse"
 
493
    },
 
494
    "listings": {
 
495
     "type": "array",
 
496
     "items": {
 
497
      "$ref": "Listing"
 
498
     }
 
499
    }
 
500
   }
 
501
  },
 
502
  "MonthDay": {
 
503
   "id": "MonthDay",
 
504
   "type": "object",
 
505
   "properties": {
 
506
    "day": {
 
507
     "type": "integer",
 
508
     "description": "Day of a month, value in [1, 31] range. Valid range depends on the specified month.",
 
509
     "format": "uint32"
 
510
    },
 
511
    "month": {
 
512
     "type": "integer",
 
513
     "description": "Month of a year. e.g. 1 = JAN, 2 = FEB etc.",
 
514
     "format": "uint32"
 
515
    }
 
516
   }
 
517
  },
 
518
  "PageInfo": {
 
519
   "id": "PageInfo",
 
520
   "type": "object",
 
521
   "properties": {
 
522
    "resultPerPage": {
 
523
     "type": "integer",
 
524
     "format": "int32"
 
525
    },
 
526
    "startIndex": {
 
527
     "type": "integer",
 
528
     "format": "int32"
 
529
    },
 
530
    "totalResults": {
 
531
     "type": "integer",
 
532
     "format": "int32"
 
533
    }
 
534
   }
 
535
  },
 
536
  "Price": {
 
537
   "id": "Price",
 
538
   "type": "object",
 
539
   "properties": {
 
540
    "currency": {
 
541
     "type": "string",
 
542
     "description": "3 letter Currency code, as defined by ISO 4217."
 
543
    },
 
544
    "priceMicros": {
 
545
     "type": "string",
 
546
     "description": "The price in millionths of the currency base unit represented as a string."
 
547
    }
 
548
   }
 
549
  },
 
550
  "ProductPurchase": {
 
551
   "id": "ProductPurchase",
 
552
   "type": "object",
 
553
   "description": "A ProductPurchase resource indicates the status of a user's inapp product purchase.",
 
554
   "properties": {
 
555
    "consumptionState": {
 
556
     "type": "integer",
 
557
     "description": "The consumption state of the inapp product. Possible values are:  \n- Yet to be consumed \n- Consumed",
 
558
     "format": "int32"
 
559
    },
 
560
    "developerPayload": {
 
561
     "type": "string",
 
562
     "description": "A developer-specified string that contains supplemental information about an order."
 
563
    },
 
564
    "kind": {
 
565
     "type": "string",
 
566
     "description": "This kind represents an inappPurchase object in the androidpublisher service.",
 
567
     "default": "androidpublisher#productPurchase"
 
568
    },
 
569
    "purchaseState": {
 
570
     "type": "integer",
 
571
     "description": "The purchase state of the order. Possible values are:  \n- Purchased \n- Cancelled",
 
572
     "format": "int32"
 
573
    },
 
574
    "purchaseTimeMillis": {
 
575
     "type": "string",
 
576
     "description": "The time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).",
 
577
     "format": "int64"
 
578
    }
 
579
   }
 
580
  },
 
581
  "Season": {
 
582
   "id": "Season",
 
583
   "type": "object",
 
584
   "properties": {
 
585
    "end": {
 
586
     "$ref": "MonthDay",
 
587
     "description": "Inclusive end date of the recurrence period."
 
588
    },
 
589
    "start": {
 
590
     "$ref": "MonthDay",
 
591
     "description": "Inclusive start date of the recurrence period."
 
592
    }
 
593
   }
 
594
  },
 
595
  "SubscriptionDeferralInfo": {
 
596
   "id": "SubscriptionDeferralInfo",
 
597
   "type": "object",
 
598
   "description": "A SubscriptionDeferralInfo contains the data needed to defer a subscription purchase to a future expiry time.",
 
599
   "properties": {
 
600
    "desiredExpiryTimeMillis": {
 
601
     "type": "string",
 
602
     "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.",
 
603
     "format": "int64"
 
604
    },
 
605
    "expectedExpiryTimeMillis": {
 
606
     "type": "string",
 
607
     "description": "The expected expiry time for the subscription. If the current expiry time for the subscription is not the value specified here, the deferral will not occur.",
 
608
     "format": "int64"
 
609
    }
 
610
   }
 
611
  },
 
612
  "SubscriptionPurchase": {
 
613
   "id": "SubscriptionPurchase",
 
614
   "type": "object",
 
615
   "description": "A SubscriptionPurchase resource indicates the status of a user's subscription purchase.",
 
616
   "properties": {
 
617
    "autoRenewing": {
 
618
     "type": "boolean",
 
619
     "description": "Whether the subscription will automatically be renewed when it reaches its current expiry time."
 
620
    },
 
621
    "expiryTimeMillis": {
 
622
     "type": "string",
 
623
     "description": "Time at which the subscription will expire, in milliseconds since Epoch.",
 
624
     "format": "int64"
 
625
    },
 
626
    "kind": {
 
627
     "type": "string",
 
628
     "description": "This kind represents a subscriptionPurchase object in the androidpublisher service.",
 
629
     "default": "androidpublisher#subscriptionPurchase"
 
630
    },
 
631
    "startTimeMillis": {
 
632
     "type": "string",
 
633
     "description": "Time at which the subscription was granted, in milliseconds since Epoch.",
 
634
     "format": "int64"
 
635
    }
 
636
   }
 
637
  },
 
638
  "SubscriptionPurchasesDeferRequest": {
 
639
   "id": "SubscriptionPurchasesDeferRequest",
 
640
   "type": "object",
 
641
   "properties": {
 
642
    "deferralInfo": {
 
643
     "$ref": "SubscriptionDeferralInfo",
 
644
     "description": "The information about the new desired expiry time for the subscription."
 
645
    }
 
646
   }
 
647
  },
 
648
  "SubscriptionPurchasesDeferResponse": {
 
649
   "id": "SubscriptionPurchasesDeferResponse",
 
650
   "type": "object",
 
651
   "properties": {
 
652
    "newExpiryTimeMillis": {
 
653
     "type": "string",
 
654
     "description": "The new expiry time for the subscription in milliseconds since the Epoch.",
 
655
     "format": "int64"
 
656
    }
 
657
   }
 
658
  },
 
659
  "Testers": {
 
660
   "id": "Testers",
 
661
   "type": "object",
 
662
   "properties": {
 
663
    "googleGroups": {
 
664
     "type": "array",
 
665
     "items": {
 
666
      "type": "string"
 
667
     }
 
668
    },
 
669
    "googlePlusCommunities": {
 
670
     "type": "array",
 
671
     "items": {
 
672
      "type": "string"
 
673
     }
 
674
    }
 
675
   }
 
676
  },
 
677
  "TokenPagination": {
 
678
   "id": "TokenPagination",
 
679
   "type": "object",
 
680
   "properties": {
 
681
    "nextPageToken": {
 
682
     "type": "string"
 
683
    },
 
684
    "previousPageToken": {
 
685
     "type": "string"
 
686
    }
 
687
   }
 
688
  },
 
689
  "Track": {
 
690
   "id": "Track",
 
691
   "type": "object",
 
692
   "properties": {
 
693
    "track": {
 
694
     "type": "string"
 
695
    },
 
696
    "userFraction": {
 
697
     "type": "number",
 
698
     "format": "double"
 
699
    },
 
700
    "versionCodes": {
 
701
     "type": "array",
 
702
     "items": {
 
703
      "type": "integer",
 
704
      "format": "int32"
 
705
     }
 
706
    }
 
707
   }
 
708
  },
 
709
  "TracksListResponse": {
 
710
   "id": "TracksListResponse",
 
711
   "type": "object",
 
712
   "properties": {
 
713
    "kind": {
 
714
     "type": "string",
 
715
     "description": "Identifies what kind of resource this is. Value: the fixed string \"androidpublisher#tracksListResponse\".",
 
716
     "default": "androidpublisher#tracksListResponse"
 
717
    },
 
718
    "tracks": {
 
719
     "type": "array",
 
720
     "items": {
 
721
      "$ref": "Track"
 
722
     }
 
723
    }
 
724
   }
 
725
  }
 
726
 },
 
727
 "resources": {
 
728
  "edits": {
 
729
   "methods": {
 
730
    "commit": {
 
731
     "id": "androidpublisher.edits.commit",
 
732
     "path": "{packageName}/edits/{editId}:commit",
 
733
     "httpMethod": "POST",
 
734
     "description": "Commits/applies the changes made in this edit back to the app.",
 
735
     "parameters": {
 
736
      "editId": {
 
737
       "type": "string",
 
738
       "description": "Unique identifier for this edit.",
 
739
       "required": true,
 
740
       "location": "path"
 
741
      },
 
742
      "packageName": {
 
743
       "type": "string",
 
744
       "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
745
       "required": true,
 
746
       "location": "path"
 
747
      }
 
748
     },
 
749
     "parameterOrder": [
 
750
      "packageName",
 
751
      "editId"
 
752
     ],
 
753
     "response": {
 
754
      "$ref": "AppEdit"
 
755
     },
 
756
     "scopes": [
 
757
      "https://www.googleapis.com/auth/androidpublisher"
 
758
     ]
 
759
    },
 
760
    "delete": {
 
761
     "id": "androidpublisher.edits.delete",
 
762
     "path": "{packageName}/edits/{editId}",
 
763
     "httpMethod": "DELETE",
 
764
     "description": "Deletes an edit for an app. Creating a new edit will automatically delete any of your previous edits so this method need only be called if you want to preemptively abandon an edit.",
 
765
     "parameters": {
 
766
      "editId": {
 
767
       "type": "string",
 
768
       "description": "Unique identifier for this edit.",
 
769
       "required": true,
 
770
       "location": "path"
 
771
      },
 
772
      "packageName": {
 
773
       "type": "string",
 
774
       "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
775
       "required": true,
 
776
       "location": "path"
 
777
      }
 
778
     },
 
779
     "parameterOrder": [
 
780
      "packageName",
 
781
      "editId"
 
782
     ],
 
783
     "scopes": [
 
784
      "https://www.googleapis.com/auth/androidpublisher"
 
785
     ]
 
786
    },
 
787
    "get": {
 
788
     "id": "androidpublisher.edits.get",
 
789
     "path": "{packageName}/edits/{editId}",
 
790
     "httpMethod": "GET",
 
791
     "description": "Returns information about the edit specified. Calls will fail if the edit is no long active (e.g. has been deleted, superseded or expired).",
 
792
     "parameters": {
 
793
      "editId": {
 
794
       "type": "string",
 
795
       "description": "Unique identifier for this edit.",
 
796
       "required": true,
 
797
       "location": "path"
 
798
      },
 
799
      "packageName": {
 
800
       "type": "string",
 
801
       "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
802
       "required": true,
 
803
       "location": "path"
 
804
      }
 
805
     },
 
806
     "parameterOrder": [
 
807
      "packageName",
 
808
      "editId"
 
809
     ],
 
810
     "response": {
 
811
      "$ref": "AppEdit"
 
812
     },
 
813
     "scopes": [
 
814
      "https://www.googleapis.com/auth/androidpublisher"
 
815
     ]
 
816
    },
 
817
    "insert": {
 
818
     "id": "androidpublisher.edits.insert",
 
819
     "path": "{packageName}/edits",
 
820
     "httpMethod": "POST",
 
821
     "description": "Creates a new edit for an app, populated with the app's current state.",
 
822
     "parameters": {
 
823
      "packageName": {
 
824
       "type": "string",
 
825
       "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
826
       "required": true,
 
827
       "location": "path"
 
828
      }
 
829
     },
 
830
     "parameterOrder": [
 
831
      "packageName"
 
832
     ],
 
833
     "request": {
 
834
      "$ref": "AppEdit"
 
835
     },
 
836
     "response": {
 
837
      "$ref": "AppEdit"
 
838
     },
 
839
     "scopes": [
 
840
      "https://www.googleapis.com/auth/androidpublisher"
 
841
     ]
 
842
    },
 
843
    "validate": {
 
844
     "id": "androidpublisher.edits.validate",
 
845
     "path": "{packageName}/edits/{editId}:validate",
 
846
     "httpMethod": "POST",
 
847
     "description": "Checks that the edit can be successfully committed. The edit's changes are not applied to the live app.",
 
848
     "parameters": {
 
849
      "editId": {
 
850
       "type": "string",
 
851
       "description": "Unique identifier for this edit.",
 
852
       "required": true,
 
853
       "location": "path"
 
854
      },
 
855
      "packageName": {
 
856
       "type": "string",
 
857
       "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
858
       "required": true,
 
859
       "location": "path"
 
860
      }
 
861
     },
 
862
     "parameterOrder": [
 
863
      "packageName",
 
864
      "editId"
 
865
     ],
 
866
     "response": {
 
867
      "$ref": "AppEdit"
 
868
     },
 
869
     "scopes": [
 
870
      "https://www.googleapis.com/auth/androidpublisher"
 
871
     ]
 
872
    }
 
873
   },
 
874
   "resources": {
 
875
    "apklistings": {
 
876
     "methods": {
 
877
      "delete": {
 
878
       "id": "androidpublisher.edits.apklistings.delete",
 
879
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
 
880
       "httpMethod": "DELETE",
 
881
       "description": "Deletes the APK-specific localized listing for a specified APK and language code.",
 
882
       "parameters": {
 
883
        "apkVersionCode": {
 
884
         "type": "integer",
 
885
         "description": "The APK version code whose APK-specific listings should be read or modified.",
 
886
         "required": true,
 
887
         "format": "int32",
 
888
         "location": "path"
 
889
        },
 
890
        "editId": {
 
891
         "type": "string",
 
892
         "description": "Unique identifier for this edit.",
 
893
         "required": true,
 
894
         "location": "path"
 
895
        },
 
896
        "language": {
 
897
         "type": "string",
 
898
         "description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
899
         "required": true,
 
900
         "location": "path"
 
901
        },
 
902
        "packageName": {
 
903
         "type": "string",
 
904
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
905
         "required": true,
 
906
         "location": "path"
 
907
        }
 
908
       },
 
909
       "parameterOrder": [
 
910
        "packageName",
 
911
        "editId",
 
912
        "apkVersionCode",
 
913
        "language"
 
914
       ],
 
915
       "scopes": [
 
916
        "https://www.googleapis.com/auth/androidpublisher"
 
917
       ]
 
918
      },
 
919
      "deleteall": {
 
920
       "id": "androidpublisher.edits.apklistings.deleteall",
 
921
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings",
 
922
       "httpMethod": "DELETE",
 
923
       "description": "Deletes all the APK-specific localized listings for a specified APK.",
 
924
       "parameters": {
 
925
        "apkVersionCode": {
 
926
         "type": "integer",
 
927
         "description": "The APK version code whose APK-specific listings should be read or modified.",
 
928
         "required": true,
 
929
         "format": "int32",
 
930
         "location": "path"
 
931
        },
 
932
        "editId": {
 
933
         "type": "string",
 
934
         "description": "Unique identifier for this edit.",
 
935
         "required": true,
 
936
         "location": "path"
 
937
        },
 
938
        "packageName": {
 
939
         "type": "string",
 
940
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
941
         "required": true,
 
942
         "location": "path"
 
943
        }
 
944
       },
 
945
       "parameterOrder": [
 
946
        "packageName",
 
947
        "editId",
 
948
        "apkVersionCode"
 
949
       ],
 
950
       "scopes": [
 
951
        "https://www.googleapis.com/auth/androidpublisher"
 
952
       ]
 
953
      },
 
954
      "get": {
 
955
       "id": "androidpublisher.edits.apklistings.get",
 
956
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
 
957
       "httpMethod": "GET",
 
958
       "description": "Fetches the APK-specific localized listing for a specified APK and language code.",
 
959
       "parameters": {
 
960
        "apkVersionCode": {
 
961
         "type": "integer",
 
962
         "description": "The APK version code whose APK-specific listings should be read or modified.",
 
963
         "required": true,
 
964
         "format": "int32",
 
965
         "location": "path"
 
966
        },
 
967
        "editId": {
 
968
         "type": "string",
 
969
         "description": "Unique identifier for this edit.",
 
970
         "required": true,
 
971
         "location": "path"
 
972
        },
 
973
        "language": {
 
974
         "type": "string",
 
975
         "description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
976
         "required": true,
 
977
         "location": "path"
 
978
        },
 
979
        "packageName": {
 
980
         "type": "string",
 
981
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
982
         "required": true,
 
983
         "location": "path"
 
984
        }
 
985
       },
 
986
       "parameterOrder": [
 
987
        "packageName",
 
988
        "editId",
 
989
        "apkVersionCode",
 
990
        "language"
 
991
       ],
 
992
       "response": {
 
993
        "$ref": "ApkListing"
 
994
       },
 
995
       "scopes": [
 
996
        "https://www.googleapis.com/auth/androidpublisher"
 
997
       ]
 
998
      },
 
999
      "list": {
 
1000
       "id": "androidpublisher.edits.apklistings.list",
 
1001
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings",
 
1002
       "httpMethod": "GET",
 
1003
       "description": "Lists all the APK-specific localized listings for a specified APK.",
 
1004
       "parameters": {
 
1005
        "apkVersionCode": {
 
1006
         "type": "integer",
 
1007
         "description": "The APK version code whose APK-specific listings should be read or modified.",
 
1008
         "required": true,
 
1009
         "format": "int32",
 
1010
         "location": "path"
 
1011
        },
 
1012
        "editId": {
 
1013
         "type": "string",
 
1014
         "description": "Unique identifier for this edit.",
 
1015
         "required": true,
 
1016
         "location": "path"
 
1017
        },
 
1018
        "packageName": {
 
1019
         "type": "string",
 
1020
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1021
         "required": true,
 
1022
         "location": "path"
 
1023
        }
 
1024
       },
 
1025
       "parameterOrder": [
 
1026
        "packageName",
 
1027
        "editId",
 
1028
        "apkVersionCode"
 
1029
       ],
 
1030
       "response": {
 
1031
        "$ref": "ApkListingsListResponse"
 
1032
       },
 
1033
       "scopes": [
 
1034
        "https://www.googleapis.com/auth/androidpublisher"
 
1035
       ]
 
1036
      },
 
1037
      "patch": {
 
1038
       "id": "androidpublisher.edits.apklistings.patch",
 
1039
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
 
1040
       "httpMethod": "PATCH",
 
1041
       "description": "Updates or creates the APK-specific localized listing for a specified APK and language code. This method supports patch semantics.",
 
1042
       "parameters": {
 
1043
        "apkVersionCode": {
 
1044
         "type": "integer",
 
1045
         "description": "The APK version code whose APK-specific listings should be read or modified.",
 
1046
         "required": true,
 
1047
         "format": "int32",
 
1048
         "location": "path"
 
1049
        },
 
1050
        "editId": {
 
1051
         "type": "string",
 
1052
         "description": "Unique identifier for this edit.",
 
1053
         "required": true,
 
1054
         "location": "path"
 
1055
        },
 
1056
        "language": {
 
1057
         "type": "string",
 
1058
         "description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
1059
         "required": true,
 
1060
         "location": "path"
 
1061
        },
 
1062
        "packageName": {
 
1063
         "type": "string",
 
1064
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1065
         "required": true,
 
1066
         "location": "path"
 
1067
        }
 
1068
       },
 
1069
       "parameterOrder": [
 
1070
        "packageName",
 
1071
        "editId",
 
1072
        "apkVersionCode",
 
1073
        "language"
 
1074
       ],
 
1075
       "request": {
 
1076
        "$ref": "ApkListing"
 
1077
       },
 
1078
       "response": {
 
1079
        "$ref": "ApkListing"
 
1080
       },
 
1081
       "scopes": [
 
1082
        "https://www.googleapis.com/auth/androidpublisher"
 
1083
       ]
 
1084
      },
 
1085
      "update": {
 
1086
       "id": "androidpublisher.edits.apklistings.update",
 
1087
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}",
 
1088
       "httpMethod": "PUT",
 
1089
       "description": "Updates or creates the APK-specific localized listing for a specified APK and language code.",
 
1090
       "parameters": {
 
1091
        "apkVersionCode": {
 
1092
         "type": "integer",
 
1093
         "description": "The APK version code whose APK-specific listings should be read or modified.",
 
1094
         "required": true,
 
1095
         "format": "int32",
 
1096
         "location": "path"
 
1097
        },
 
1098
        "editId": {
 
1099
         "type": "string",
 
1100
         "description": "Unique identifier for this edit.",
 
1101
         "required": true,
 
1102
         "location": "path"
 
1103
        },
 
1104
        "language": {
 
1105
         "type": "string",
 
1106
         "description": "The language code (a BCP-47 language tag) of the APK-specific localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
1107
         "required": true,
 
1108
         "location": "path"
 
1109
        },
 
1110
        "packageName": {
 
1111
         "type": "string",
 
1112
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1113
         "required": true,
 
1114
         "location": "path"
 
1115
        }
 
1116
       },
 
1117
       "parameterOrder": [
 
1118
        "packageName",
 
1119
        "editId",
 
1120
        "apkVersionCode",
 
1121
        "language"
 
1122
       ],
 
1123
       "request": {
 
1124
        "$ref": "ApkListing"
 
1125
       },
 
1126
       "response": {
 
1127
        "$ref": "ApkListing"
 
1128
       },
 
1129
       "scopes": [
 
1130
        "https://www.googleapis.com/auth/androidpublisher"
 
1131
       ]
 
1132
      }
 
1133
     }
 
1134
    },
 
1135
    "apks": {
 
1136
     "methods": {
 
1137
      "list": {
 
1138
       "id": "androidpublisher.edits.apks.list",
 
1139
       "path": "{packageName}/edits/{editId}/apks",
 
1140
       "httpMethod": "GET",
 
1141
       "parameters": {
 
1142
        "editId": {
 
1143
         "type": "string",
 
1144
         "description": "Unique identifier for this edit.",
 
1145
         "required": true,
 
1146
         "location": "path"
 
1147
        },
 
1148
        "packageName": {
 
1149
         "type": "string",
 
1150
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1151
         "required": true,
 
1152
         "location": "path"
 
1153
        }
 
1154
       },
 
1155
       "parameterOrder": [
 
1156
        "packageName",
 
1157
        "editId"
 
1158
       ],
 
1159
       "response": {
 
1160
        "$ref": "ApksListResponse"
 
1161
       },
 
1162
       "scopes": [
 
1163
        "https://www.googleapis.com/auth/androidpublisher"
 
1164
       ]
 
1165
      },
 
1166
      "upload": {
 
1167
       "id": "androidpublisher.edits.apks.upload",
 
1168
       "path": "{packageName}/edits/{editId}/apks",
 
1169
       "httpMethod": "POST",
 
1170
       "parameters": {
 
1171
        "editId": {
 
1172
         "type": "string",
 
1173
         "description": "Unique identifier for this edit.",
 
1174
         "required": true,
 
1175
         "location": "path"
 
1176
        },
 
1177
        "packageName": {
 
1178
         "type": "string",
 
1179
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1180
         "required": true,
 
1181
         "location": "path"
 
1182
        }
 
1183
       },
 
1184
       "parameterOrder": [
 
1185
        "packageName",
 
1186
        "editId"
 
1187
       ],
 
1188
       "response": {
 
1189
        "$ref": "Apk"
 
1190
       },
 
1191
       "scopes": [
 
1192
        "https://www.googleapis.com/auth/androidpublisher"
 
1193
       ],
 
1194
       "supportsMediaUpload": true,
 
1195
       "mediaUpload": {
 
1196
        "accept": [
 
1197
         "application/octet-stream",
 
1198
         "application/vnd.android.package-archive"
 
1199
        ],
 
1200
        "maxSize": "50MB",
 
1201
        "protocols": {
 
1202
         "simple": {
 
1203
          "multipart": true,
 
1204
          "path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks"
 
1205
         },
 
1206
         "resumable": {
 
1207
          "multipart": true,
 
1208
          "path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks"
 
1209
         }
 
1210
        }
 
1211
       }
 
1212
      }
 
1213
     }
 
1214
    },
 
1215
    "details": {
 
1216
     "methods": {
 
1217
      "get": {
 
1218
       "id": "androidpublisher.edits.details.get",
 
1219
       "path": "{packageName}/edits/{editId}/details",
 
1220
       "httpMethod": "GET",
 
1221
       "description": "Fetches app details for this edit. This includes the default language and developer support contact information.",
 
1222
       "parameters": {
 
1223
        "editId": {
 
1224
         "type": "string",
 
1225
         "description": "Unique identifier for this edit.",
 
1226
         "required": true,
 
1227
         "location": "path"
 
1228
        },
 
1229
        "packageName": {
 
1230
         "type": "string",
 
1231
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1232
         "required": true,
 
1233
         "location": "path"
 
1234
        }
 
1235
       },
 
1236
       "parameterOrder": [
 
1237
        "packageName",
 
1238
        "editId"
 
1239
       ],
 
1240
       "response": {
 
1241
        "$ref": "AppDetails"
 
1242
       },
 
1243
       "scopes": [
 
1244
        "https://www.googleapis.com/auth/androidpublisher"
 
1245
       ]
 
1246
      },
 
1247
      "patch": {
 
1248
       "id": "androidpublisher.edits.details.patch",
 
1249
       "path": "{packageName}/edits/{editId}/details",
 
1250
       "httpMethod": "PATCH",
 
1251
       "description": "Updates app details for this edit. This method supports patch semantics.",
 
1252
       "parameters": {
 
1253
        "editId": {
 
1254
         "type": "string",
 
1255
         "description": "Unique identifier for this edit.",
 
1256
         "required": true,
 
1257
         "location": "path"
 
1258
        },
 
1259
        "packageName": {
 
1260
         "type": "string",
 
1261
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1262
         "required": true,
 
1263
         "location": "path"
 
1264
        }
 
1265
       },
 
1266
       "parameterOrder": [
 
1267
        "packageName",
 
1268
        "editId"
 
1269
       ],
 
1270
       "request": {
 
1271
        "$ref": "AppDetails"
 
1272
       },
 
1273
       "response": {
 
1274
        "$ref": "AppDetails"
 
1275
       },
 
1276
       "scopes": [
 
1277
        "https://www.googleapis.com/auth/androidpublisher"
 
1278
       ]
 
1279
      },
 
1280
      "update": {
 
1281
       "id": "androidpublisher.edits.details.update",
 
1282
       "path": "{packageName}/edits/{editId}/details",
 
1283
       "httpMethod": "PUT",
 
1284
       "description": "Updates app details for this edit.",
 
1285
       "parameters": {
 
1286
        "editId": {
 
1287
         "type": "string",
 
1288
         "description": "Unique identifier for this edit.",
 
1289
         "required": true,
 
1290
         "location": "path"
 
1291
        },
 
1292
        "packageName": {
 
1293
         "type": "string",
 
1294
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1295
         "required": true,
 
1296
         "location": "path"
 
1297
        }
 
1298
       },
 
1299
       "parameterOrder": [
 
1300
        "packageName",
 
1301
        "editId"
 
1302
       ],
 
1303
       "request": {
 
1304
        "$ref": "AppDetails"
 
1305
       },
 
1306
       "response": {
 
1307
        "$ref": "AppDetails"
 
1308
       },
 
1309
       "scopes": [
 
1310
        "https://www.googleapis.com/auth/androidpublisher"
 
1311
       ]
 
1312
      }
 
1313
     }
 
1314
    },
 
1315
    "expansionfiles": {
 
1316
     "methods": {
 
1317
      "get": {
 
1318
       "id": "androidpublisher.edits.expansionfiles.get",
 
1319
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
 
1320
       "httpMethod": "GET",
 
1321
       "description": "Fetches the Expansion File configuration for the APK specified.",
 
1322
       "parameters": {
 
1323
        "apkVersionCode": {
 
1324
         "type": "integer",
 
1325
         "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
 
1326
         "required": true,
 
1327
         "format": "int32",
 
1328
         "location": "path"
 
1329
        },
 
1330
        "editId": {
 
1331
         "type": "string",
 
1332
         "description": "Unique identifier for this edit.",
 
1333
         "required": true,
 
1334
         "location": "path"
 
1335
        },
 
1336
        "expansionFileType": {
 
1337
         "type": "string",
 
1338
         "required": true,
 
1339
         "enum": [
 
1340
          "main",
 
1341
          "patch"
 
1342
         ],
 
1343
         "enumDescriptions": [
 
1344
          "",
 
1345
          ""
 
1346
         ],
 
1347
         "location": "path"
 
1348
        },
 
1349
        "packageName": {
 
1350
         "type": "string",
 
1351
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1352
         "required": true,
 
1353
         "location": "path"
 
1354
        }
 
1355
       },
 
1356
       "parameterOrder": [
 
1357
        "packageName",
 
1358
        "editId",
 
1359
        "apkVersionCode",
 
1360
        "expansionFileType"
 
1361
       ],
 
1362
       "response": {
 
1363
        "$ref": "ExpansionFile"
 
1364
       },
 
1365
       "scopes": [
 
1366
        "https://www.googleapis.com/auth/androidpublisher"
 
1367
       ]
 
1368
      },
 
1369
      "patch": {
 
1370
       "id": "androidpublisher.edits.expansionfiles.patch",
 
1371
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
 
1372
       "httpMethod": "PATCH",
 
1373
       "description": "Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method. This method supports patch semantics.",
 
1374
       "parameters": {
 
1375
        "apkVersionCode": {
 
1376
         "type": "integer",
 
1377
         "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
 
1378
         "required": true,
 
1379
         "format": "int32",
 
1380
         "location": "path"
 
1381
        },
 
1382
        "editId": {
 
1383
         "type": "string",
 
1384
         "description": "Unique identifier for this edit.",
 
1385
         "required": true,
 
1386
         "location": "path"
 
1387
        },
 
1388
        "expansionFileType": {
 
1389
         "type": "string",
 
1390
         "required": true,
 
1391
         "enum": [
 
1392
          "main",
 
1393
          "patch"
 
1394
         ],
 
1395
         "enumDescriptions": [
 
1396
          "",
 
1397
          ""
 
1398
         ],
 
1399
         "location": "path"
 
1400
        },
 
1401
        "packageName": {
 
1402
         "type": "string",
 
1403
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1404
         "required": true,
 
1405
         "location": "path"
 
1406
        }
 
1407
       },
 
1408
       "parameterOrder": [
 
1409
        "packageName",
 
1410
        "editId",
 
1411
        "apkVersionCode",
 
1412
        "expansionFileType"
 
1413
       ],
 
1414
       "request": {
 
1415
        "$ref": "ExpansionFile"
 
1416
       },
 
1417
       "response": {
 
1418
        "$ref": "ExpansionFile"
 
1419
       },
 
1420
       "scopes": [
 
1421
        "https://www.googleapis.com/auth/androidpublisher"
 
1422
       ]
 
1423
      },
 
1424
      "update": {
 
1425
       "id": "androidpublisher.edits.expansionfiles.update",
 
1426
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
 
1427
       "httpMethod": "PUT",
 
1428
       "description": "Updates the APK's Expansion File configuration to reference another APK's Expansion Files. To add a new Expansion File use the Upload method.",
 
1429
       "parameters": {
 
1430
        "apkVersionCode": {
 
1431
         "type": "integer",
 
1432
         "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
 
1433
         "required": true,
 
1434
         "format": "int32",
 
1435
         "location": "path"
 
1436
        },
 
1437
        "editId": {
 
1438
         "type": "string",
 
1439
         "description": "Unique identifier for this edit.",
 
1440
         "required": true,
 
1441
         "location": "path"
 
1442
        },
 
1443
        "expansionFileType": {
 
1444
         "type": "string",
 
1445
         "required": true,
 
1446
         "enum": [
 
1447
          "main",
 
1448
          "patch"
 
1449
         ],
 
1450
         "enumDescriptions": [
 
1451
          "",
 
1452
          ""
 
1453
         ],
 
1454
         "location": "path"
 
1455
        },
 
1456
        "packageName": {
 
1457
         "type": "string",
 
1458
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1459
         "required": true,
 
1460
         "location": "path"
 
1461
        }
 
1462
       },
 
1463
       "parameterOrder": [
 
1464
        "packageName",
 
1465
        "editId",
 
1466
        "apkVersionCode",
 
1467
        "expansionFileType"
 
1468
       ],
 
1469
       "request": {
 
1470
        "$ref": "ExpansionFile"
 
1471
       },
 
1472
       "response": {
 
1473
        "$ref": "ExpansionFile"
 
1474
       },
 
1475
       "scopes": [
 
1476
        "https://www.googleapis.com/auth/androidpublisher"
 
1477
       ]
 
1478
      },
 
1479
      "upload": {
 
1480
       "id": "androidpublisher.edits.expansionfiles.upload",
 
1481
       "path": "{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}",
 
1482
       "httpMethod": "POST",
 
1483
       "description": "Uploads and attaches a new Expansion File to the APK specified.",
 
1484
       "parameters": {
 
1485
        "apkVersionCode": {
 
1486
         "type": "integer",
 
1487
         "description": "The version code of the APK whose Expansion File configuration is being read or modified.",
 
1488
         "required": true,
 
1489
         "format": "int32",
 
1490
         "location": "path"
 
1491
        },
 
1492
        "editId": {
 
1493
         "type": "string",
 
1494
         "description": "Unique identifier for this edit.",
 
1495
         "required": true,
 
1496
         "location": "path"
 
1497
        },
 
1498
        "expansionFileType": {
 
1499
         "type": "string",
 
1500
         "required": true,
 
1501
         "enum": [
 
1502
          "main",
 
1503
          "patch"
 
1504
         ],
 
1505
         "enumDescriptions": [
 
1506
          "",
 
1507
          ""
 
1508
         ],
 
1509
         "location": "path"
 
1510
        },
 
1511
        "packageName": {
 
1512
         "type": "string",
 
1513
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1514
         "required": true,
 
1515
         "location": "path"
 
1516
        }
 
1517
       },
 
1518
       "parameterOrder": [
 
1519
        "packageName",
 
1520
        "editId",
 
1521
        "apkVersionCode",
 
1522
        "expansionFileType"
 
1523
       ],
 
1524
       "response": {
 
1525
        "$ref": "ExpansionFilesUploadResponse"
 
1526
       },
 
1527
       "scopes": [
 
1528
        "https://www.googleapis.com/auth/androidpublisher"
 
1529
       ],
 
1530
       "supportsMediaUpload": true,
 
1531
       "mediaUpload": {
 
1532
        "accept": [
 
1533
         "application/octet-stream"
 
1534
        ],
 
1535
        "maxSize": "2048MB",
 
1536
        "protocols": {
 
1537
         "simple": {
 
1538
          "multipart": true,
 
1539
          "path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
 
1540
         },
 
1541
         "resumable": {
 
1542
          "multipart": true,
 
1543
          "path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}"
 
1544
         }
 
1545
        }
 
1546
       }
 
1547
      }
 
1548
     }
 
1549
    },
 
1550
    "images": {
 
1551
     "methods": {
 
1552
      "delete": {
 
1553
       "id": "androidpublisher.edits.images.delete",
 
1554
       "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}",
 
1555
       "httpMethod": "DELETE",
 
1556
       "description": "Deletes the image (specified by id) from the edit.",
 
1557
       "parameters": {
 
1558
        "editId": {
 
1559
         "type": "string",
 
1560
         "description": "Unique identifier for this edit.",
 
1561
         "required": true,
 
1562
         "location": "path"
 
1563
        },
 
1564
        "imageId": {
 
1565
         "type": "string",
 
1566
         "description": "Unique identifier an image within the set of images attached to this edit.",
 
1567
         "required": true,
 
1568
         "location": "path"
 
1569
        },
 
1570
        "imageType": {
 
1571
         "type": "string",
 
1572
         "required": true,
 
1573
         "enum": [
 
1574
          "featureGraphic",
 
1575
          "icon",
 
1576
          "phoneScreenshots",
 
1577
          "promoGraphic",
 
1578
          "sevenInchScreenshots",
 
1579
          "tenInchScreenshots"
 
1580
         ],
 
1581
         "enumDescriptions": [
 
1582
          "",
 
1583
          "",
 
1584
          "",
 
1585
          "",
 
1586
          "",
 
1587
          ""
 
1588
         ],
 
1589
         "location": "path"
 
1590
        },
 
1591
        "language": {
 
1592
         "type": "string",
 
1593
         "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
 
1594
         "required": true,
 
1595
         "location": "path"
 
1596
        },
 
1597
        "packageName": {
 
1598
         "type": "string",
 
1599
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1600
         "required": true,
 
1601
         "location": "path"
 
1602
        }
 
1603
       },
 
1604
       "parameterOrder": [
 
1605
        "packageName",
 
1606
        "editId",
 
1607
        "language",
 
1608
        "imageType",
 
1609
        "imageId"
 
1610
       ],
 
1611
       "scopes": [
 
1612
        "https://www.googleapis.com/auth/androidpublisher"
 
1613
       ]
 
1614
      },
 
1615
      "deleteall": {
 
1616
       "id": "androidpublisher.edits.images.deleteall",
 
1617
       "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
 
1618
       "httpMethod": "DELETE",
 
1619
       "description": "Deletes all images for the specified language and image type.",
 
1620
       "parameters": {
 
1621
        "editId": {
 
1622
         "type": "string",
 
1623
         "description": "Unique identifier for this edit.",
 
1624
         "required": true,
 
1625
         "location": "path"
 
1626
        },
 
1627
        "imageType": {
 
1628
         "type": "string",
 
1629
         "required": true,
 
1630
         "enum": [
 
1631
          "featureGraphic",
 
1632
          "icon",
 
1633
          "phoneScreenshots",
 
1634
          "promoGraphic",
 
1635
          "sevenInchScreenshots",
 
1636
          "tenInchScreenshots"
 
1637
         ],
 
1638
         "enumDescriptions": [
 
1639
          "",
 
1640
          "",
 
1641
          "",
 
1642
          "",
 
1643
          "",
 
1644
          ""
 
1645
         ],
 
1646
         "location": "path"
 
1647
        },
 
1648
        "language": {
 
1649
         "type": "string",
 
1650
         "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
 
1651
         "required": true,
 
1652
         "location": "path"
 
1653
        },
 
1654
        "packageName": {
 
1655
         "type": "string",
 
1656
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1657
         "required": true,
 
1658
         "location": "path"
 
1659
        }
 
1660
       },
 
1661
       "parameterOrder": [
 
1662
        "packageName",
 
1663
        "editId",
 
1664
        "language",
 
1665
        "imageType"
 
1666
       ],
 
1667
       "response": {
 
1668
        "$ref": "ImagesDeleteAllResponse"
 
1669
       },
 
1670
       "scopes": [
 
1671
        "https://www.googleapis.com/auth/androidpublisher"
 
1672
       ]
 
1673
      },
 
1674
      "list": {
 
1675
       "id": "androidpublisher.edits.images.list",
 
1676
       "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
 
1677
       "httpMethod": "GET",
 
1678
       "description": "Lists all images for the specified language and image type.",
 
1679
       "parameters": {
 
1680
        "editId": {
 
1681
         "type": "string",
 
1682
         "description": "Unique identifier for this edit.",
 
1683
         "required": true,
 
1684
         "location": "path"
 
1685
        },
 
1686
        "imageType": {
 
1687
         "type": "string",
 
1688
         "required": true,
 
1689
         "enum": [
 
1690
          "featureGraphic",
 
1691
          "icon",
 
1692
          "phoneScreenshots",
 
1693
          "promoGraphic",
 
1694
          "sevenInchScreenshots",
 
1695
          "tenInchScreenshots"
 
1696
         ],
 
1697
         "enumDescriptions": [
 
1698
          "",
 
1699
          "",
 
1700
          "",
 
1701
          "",
 
1702
          "",
 
1703
          ""
 
1704
         ],
 
1705
         "location": "path"
 
1706
        },
 
1707
        "language": {
 
1708
         "type": "string",
 
1709
         "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
 
1710
         "required": true,
 
1711
         "location": "path"
 
1712
        },
 
1713
        "packageName": {
 
1714
         "type": "string",
 
1715
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1716
         "required": true,
 
1717
         "location": "path"
 
1718
        }
 
1719
       },
 
1720
       "parameterOrder": [
 
1721
        "packageName",
 
1722
        "editId",
 
1723
        "language",
 
1724
        "imageType"
 
1725
       ],
 
1726
       "response": {
 
1727
        "$ref": "ImagesListResponse"
 
1728
       },
 
1729
       "scopes": [
 
1730
        "https://www.googleapis.com/auth/androidpublisher"
 
1731
       ]
 
1732
      },
 
1733
      "upload": {
 
1734
       "id": "androidpublisher.edits.images.upload",
 
1735
       "path": "{packageName}/edits/{editId}/listings/{language}/{imageType}",
 
1736
       "httpMethod": "POST",
 
1737
       "description": "Uploads a new image and adds it to the list of images for the specified language and image type.",
 
1738
       "parameters": {
 
1739
        "editId": {
 
1740
         "type": "string",
 
1741
         "description": "Unique identifier for this edit.",
 
1742
         "required": true,
 
1743
         "location": "path"
 
1744
        },
 
1745
        "imageType": {
 
1746
         "type": "string",
 
1747
         "required": true,
 
1748
         "enum": [
 
1749
          "featureGraphic",
 
1750
          "icon",
 
1751
          "phoneScreenshots",
 
1752
          "promoGraphic",
 
1753
          "sevenInchScreenshots",
 
1754
          "tenInchScreenshots"
 
1755
         ],
 
1756
         "enumDescriptions": [
 
1757
          "",
 
1758
          "",
 
1759
          "",
 
1760
          "",
 
1761
          "",
 
1762
          ""
 
1763
         ],
 
1764
         "location": "path"
 
1765
        },
 
1766
        "language": {
 
1767
         "type": "string",
 
1768
         "description": "The language code (a BCP-47 language tag) of the localized listing whose images are to read or modified. For example, to select Austrian German, pass \"de-AT\".",
 
1769
         "required": true,
 
1770
         "location": "path"
 
1771
        },
 
1772
        "packageName": {
 
1773
         "type": "string",
 
1774
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1775
         "required": true,
 
1776
         "location": "path"
 
1777
        }
 
1778
       },
 
1779
       "parameterOrder": [
 
1780
        "packageName",
 
1781
        "editId",
 
1782
        "language",
 
1783
        "imageType"
 
1784
       ],
 
1785
       "response": {
 
1786
        "$ref": "ImagesUploadResponse"
 
1787
       },
 
1788
       "scopes": [
 
1789
        "https://www.googleapis.com/auth/androidpublisher"
 
1790
       ],
 
1791
       "supportsMediaUpload": true,
 
1792
       "mediaUpload": {
 
1793
        "accept": [
 
1794
         "image/*"
 
1795
        ],
 
1796
        "maxSize": "15MB",
 
1797
        "protocols": {
 
1798
         "simple": {
 
1799
          "multipart": true,
 
1800
          "path": "/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
 
1801
         },
 
1802
         "resumable": {
 
1803
          "multipart": true,
 
1804
          "path": "/resumable/upload/androidpublisher/v2/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}"
 
1805
         }
 
1806
        }
 
1807
       }
 
1808
      }
 
1809
     }
 
1810
    },
 
1811
    "listings": {
 
1812
     "methods": {
 
1813
      "delete": {
 
1814
       "id": "androidpublisher.edits.listings.delete",
 
1815
       "path": "{packageName}/edits/{editId}/listings/{language}",
 
1816
       "httpMethod": "DELETE",
 
1817
       "description": "Deletes the specified localized store listing from an edit.",
 
1818
       "parameters": {
 
1819
        "editId": {
 
1820
         "type": "string",
 
1821
         "description": "Unique identifier for this edit.",
 
1822
         "required": true,
 
1823
         "location": "path"
 
1824
        },
 
1825
        "language": {
 
1826
         "type": "string",
 
1827
         "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
1828
         "required": true,
 
1829
         "location": "path"
 
1830
        },
 
1831
        "packageName": {
 
1832
         "type": "string",
 
1833
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1834
         "required": true,
 
1835
         "location": "path"
 
1836
        }
 
1837
       },
 
1838
       "parameterOrder": [
 
1839
        "packageName",
 
1840
        "editId",
 
1841
        "language"
 
1842
       ],
 
1843
       "scopes": [
 
1844
        "https://www.googleapis.com/auth/androidpublisher"
 
1845
       ]
 
1846
      },
 
1847
      "deleteall": {
 
1848
       "id": "androidpublisher.edits.listings.deleteall",
 
1849
       "path": "{packageName}/edits/{editId}/listings",
 
1850
       "httpMethod": "DELETE",
 
1851
       "description": "Deletes all localized listings from an edit.",
 
1852
       "parameters": {
 
1853
        "editId": {
 
1854
         "type": "string",
 
1855
         "description": "Unique identifier for this edit.",
 
1856
         "required": true,
 
1857
         "location": "path"
 
1858
        },
 
1859
        "packageName": {
 
1860
         "type": "string",
 
1861
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1862
         "required": true,
 
1863
         "location": "path"
 
1864
        }
 
1865
       },
 
1866
       "parameterOrder": [
 
1867
        "packageName",
 
1868
        "editId"
 
1869
       ],
 
1870
       "scopes": [
 
1871
        "https://www.googleapis.com/auth/androidpublisher"
 
1872
       ]
 
1873
      },
 
1874
      "get": {
 
1875
       "id": "androidpublisher.edits.listings.get",
 
1876
       "path": "{packageName}/edits/{editId}/listings/{language}",
 
1877
       "httpMethod": "GET",
 
1878
       "description": "Fetches information about a localized store listing.",
 
1879
       "parameters": {
 
1880
        "editId": {
 
1881
         "type": "string",
 
1882
         "description": "Unique identifier for this edit.",
 
1883
         "required": true,
 
1884
         "location": "path"
 
1885
        },
 
1886
        "language": {
 
1887
         "type": "string",
 
1888
         "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
1889
         "required": true,
 
1890
         "location": "path"
 
1891
        },
 
1892
        "packageName": {
 
1893
         "type": "string",
 
1894
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1895
         "required": true,
 
1896
         "location": "path"
 
1897
        }
 
1898
       },
 
1899
       "parameterOrder": [
 
1900
        "packageName",
 
1901
        "editId",
 
1902
        "language"
 
1903
       ],
 
1904
       "response": {
 
1905
        "$ref": "Listing"
 
1906
       },
 
1907
       "scopes": [
 
1908
        "https://www.googleapis.com/auth/androidpublisher"
 
1909
       ]
 
1910
      },
 
1911
      "list": {
 
1912
       "id": "androidpublisher.edits.listings.list",
 
1913
       "path": "{packageName}/edits/{editId}/listings",
 
1914
       "httpMethod": "GET",
 
1915
       "description": "Returns all of the localized store listings attached to this edit.",
 
1916
       "parameters": {
 
1917
        "editId": {
 
1918
         "type": "string",
 
1919
         "description": "Unique identifier for this edit.",
 
1920
         "required": true,
 
1921
         "location": "path"
 
1922
        },
 
1923
        "packageName": {
 
1924
         "type": "string",
 
1925
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1926
         "required": true,
 
1927
         "location": "path"
 
1928
        }
 
1929
       },
 
1930
       "parameterOrder": [
 
1931
        "packageName",
 
1932
        "editId"
 
1933
       ],
 
1934
       "response": {
 
1935
        "$ref": "ListingsListResponse"
 
1936
       },
 
1937
       "scopes": [
 
1938
        "https://www.googleapis.com/auth/androidpublisher"
 
1939
       ]
 
1940
      },
 
1941
      "patch": {
 
1942
       "id": "androidpublisher.edits.listings.patch",
 
1943
       "path": "{packageName}/edits/{editId}/listings/{language}",
 
1944
       "httpMethod": "PATCH",
 
1945
       "description": "Creates or updates a localized store listing. This method supports patch semantics.",
 
1946
       "parameters": {
 
1947
        "editId": {
 
1948
         "type": "string",
 
1949
         "description": "Unique identifier for this edit.",
 
1950
         "required": true,
 
1951
         "location": "path"
 
1952
        },
 
1953
        "language": {
 
1954
         "type": "string",
 
1955
         "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
1956
         "required": true,
 
1957
         "location": "path"
 
1958
        },
 
1959
        "packageName": {
 
1960
         "type": "string",
 
1961
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
1962
         "required": true,
 
1963
         "location": "path"
 
1964
        }
 
1965
       },
 
1966
       "parameterOrder": [
 
1967
        "packageName",
 
1968
        "editId",
 
1969
        "language"
 
1970
       ],
 
1971
       "request": {
 
1972
        "$ref": "Listing"
 
1973
       },
 
1974
       "response": {
 
1975
        "$ref": "Listing"
 
1976
       },
 
1977
       "scopes": [
 
1978
        "https://www.googleapis.com/auth/androidpublisher"
 
1979
       ]
 
1980
      },
 
1981
      "update": {
 
1982
       "id": "androidpublisher.edits.listings.update",
 
1983
       "path": "{packageName}/edits/{editId}/listings/{language}",
 
1984
       "httpMethod": "PUT",
 
1985
       "description": "Creates or updates a localized store listing.",
 
1986
       "parameters": {
 
1987
        "editId": {
 
1988
         "type": "string",
 
1989
         "description": "Unique identifier for this edit.",
 
1990
         "required": true,
 
1991
         "location": "path"
 
1992
        },
 
1993
        "language": {
 
1994
         "type": "string",
 
1995
         "description": "The language code (a BCP-47 language tag) of the localized listing to read or modify. For example, to select Austrian German, pass \"de-AT\".",
 
1996
         "required": true,
 
1997
         "location": "path"
 
1998
        },
 
1999
        "packageName": {
 
2000
         "type": "string",
 
2001
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2002
         "required": true,
 
2003
         "location": "path"
 
2004
        }
 
2005
       },
 
2006
       "parameterOrder": [
 
2007
        "packageName",
 
2008
        "editId",
 
2009
        "language"
 
2010
       ],
 
2011
       "request": {
 
2012
        "$ref": "Listing"
 
2013
       },
 
2014
       "response": {
 
2015
        "$ref": "Listing"
 
2016
       },
 
2017
       "scopes": [
 
2018
        "https://www.googleapis.com/auth/androidpublisher"
 
2019
       ]
 
2020
      }
 
2021
     }
 
2022
    },
 
2023
    "testers": {
 
2024
     "methods": {
 
2025
      "get": {
 
2026
       "id": "androidpublisher.edits.testers.get",
 
2027
       "path": "{packageName}/edits/{editId}/testers/{track}",
 
2028
       "httpMethod": "GET",
 
2029
       "parameters": {
 
2030
        "editId": {
 
2031
         "type": "string",
 
2032
         "description": "Unique identifier for this edit.",
 
2033
         "required": true,
 
2034
         "location": "path"
 
2035
        },
 
2036
        "packageName": {
 
2037
         "type": "string",
 
2038
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2039
         "required": true,
 
2040
         "location": "path"
 
2041
        },
 
2042
        "track": {
 
2043
         "type": "string",
 
2044
         "required": true,
 
2045
         "enum": [
 
2046
          "alpha",
 
2047
          "beta",
 
2048
          "production",
 
2049
          "rollout"
 
2050
         ],
 
2051
         "enumDescriptions": [
 
2052
          "",
 
2053
          "",
 
2054
          "",
 
2055
          ""
 
2056
         ],
 
2057
         "location": "path"
 
2058
        }
 
2059
       },
 
2060
       "parameterOrder": [
 
2061
        "packageName",
 
2062
        "editId",
 
2063
        "track"
 
2064
       ],
 
2065
       "response": {
 
2066
        "$ref": "Testers"
 
2067
       },
 
2068
       "scopes": [
 
2069
        "https://www.googleapis.com/auth/androidpublisher"
 
2070
       ]
 
2071
      },
 
2072
      "patch": {
 
2073
       "id": "androidpublisher.edits.testers.patch",
 
2074
       "path": "{packageName}/edits/{editId}/testers/{track}",
 
2075
       "httpMethod": "PATCH",
 
2076
       "parameters": {
 
2077
        "editId": {
 
2078
         "type": "string",
 
2079
         "description": "Unique identifier for this edit.",
 
2080
         "required": true,
 
2081
         "location": "path"
 
2082
        },
 
2083
        "packageName": {
 
2084
         "type": "string",
 
2085
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2086
         "required": true,
 
2087
         "location": "path"
 
2088
        },
 
2089
        "track": {
 
2090
         "type": "string",
 
2091
         "required": true,
 
2092
         "enum": [
 
2093
          "alpha",
 
2094
          "beta",
 
2095
          "production",
 
2096
          "rollout"
 
2097
         ],
 
2098
         "enumDescriptions": [
 
2099
          "",
 
2100
          "",
 
2101
          "",
 
2102
          ""
 
2103
         ],
 
2104
         "location": "path"
 
2105
        }
 
2106
       },
 
2107
       "parameterOrder": [
 
2108
        "packageName",
 
2109
        "editId",
 
2110
        "track"
 
2111
       ],
 
2112
       "request": {
 
2113
        "$ref": "Testers"
 
2114
       },
 
2115
       "response": {
 
2116
        "$ref": "Testers"
 
2117
       },
 
2118
       "scopes": [
 
2119
        "https://www.googleapis.com/auth/androidpublisher"
 
2120
       ]
 
2121
      },
 
2122
      "update": {
 
2123
       "id": "androidpublisher.edits.testers.update",
 
2124
       "path": "{packageName}/edits/{editId}/testers/{track}",
 
2125
       "httpMethod": "PUT",
 
2126
       "parameters": {
 
2127
        "editId": {
 
2128
         "type": "string",
 
2129
         "description": "Unique identifier for this edit.",
 
2130
         "required": true,
 
2131
         "location": "path"
 
2132
        },
 
2133
        "packageName": {
 
2134
         "type": "string",
 
2135
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2136
         "required": true,
 
2137
         "location": "path"
 
2138
        },
 
2139
        "track": {
 
2140
         "type": "string",
 
2141
         "required": true,
 
2142
         "enum": [
 
2143
          "alpha",
 
2144
          "beta",
 
2145
          "production",
 
2146
          "rollout"
 
2147
         ],
 
2148
         "enumDescriptions": [
 
2149
          "",
 
2150
          "",
 
2151
          "",
 
2152
          ""
 
2153
         ],
 
2154
         "location": "path"
 
2155
        }
 
2156
       },
 
2157
       "parameterOrder": [
 
2158
        "packageName",
 
2159
        "editId",
 
2160
        "track"
 
2161
       ],
 
2162
       "request": {
 
2163
        "$ref": "Testers"
 
2164
       },
 
2165
       "response": {
 
2166
        "$ref": "Testers"
 
2167
       },
 
2168
       "scopes": [
 
2169
        "https://www.googleapis.com/auth/androidpublisher"
 
2170
       ]
 
2171
      }
 
2172
     }
 
2173
    },
 
2174
    "tracks": {
 
2175
     "methods": {
 
2176
      "get": {
 
2177
       "id": "androidpublisher.edits.tracks.get",
 
2178
       "path": "{packageName}/edits/{editId}/tracks/{track}",
 
2179
       "httpMethod": "GET",
 
2180
       "description": "Fetches the track configuration for the specified track type. Includes the APK version codes that are in this track.",
 
2181
       "parameters": {
 
2182
        "editId": {
 
2183
         "type": "string",
 
2184
         "description": "Unique identifier for this edit.",
 
2185
         "required": true,
 
2186
         "location": "path"
 
2187
        },
 
2188
        "packageName": {
 
2189
         "type": "string",
 
2190
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2191
         "required": true,
 
2192
         "location": "path"
 
2193
        },
 
2194
        "track": {
 
2195
         "type": "string",
 
2196
         "description": "The track type to read or modify.",
 
2197
         "required": true,
 
2198
         "enum": [
 
2199
          "alpha",
 
2200
          "beta",
 
2201
          "production",
 
2202
          "rollout"
 
2203
         ],
 
2204
         "enumDescriptions": [
 
2205
          "",
 
2206
          "",
 
2207
          "",
 
2208
          ""
 
2209
         ],
 
2210
         "location": "path"
 
2211
        }
 
2212
       },
 
2213
       "parameterOrder": [
 
2214
        "packageName",
 
2215
        "editId",
 
2216
        "track"
 
2217
       ],
 
2218
       "response": {
 
2219
        "$ref": "Track"
 
2220
       },
 
2221
       "scopes": [
 
2222
        "https://www.googleapis.com/auth/androidpublisher"
 
2223
       ]
 
2224
      },
 
2225
      "list": {
 
2226
       "id": "androidpublisher.edits.tracks.list",
 
2227
       "path": "{packageName}/edits/{editId}/tracks",
 
2228
       "httpMethod": "GET",
 
2229
       "description": "Lists all the track configurations for this edit.",
 
2230
       "parameters": {
 
2231
        "editId": {
 
2232
         "type": "string",
 
2233
         "description": "Unique identifier for this edit.",
 
2234
         "required": true,
 
2235
         "location": "path"
 
2236
        },
 
2237
        "packageName": {
 
2238
         "type": "string",
 
2239
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2240
         "required": true,
 
2241
         "location": "path"
 
2242
        }
 
2243
       },
 
2244
       "parameterOrder": [
 
2245
        "packageName",
 
2246
        "editId"
 
2247
       ],
 
2248
       "response": {
 
2249
        "$ref": "TracksListResponse"
 
2250
       },
 
2251
       "scopes": [
 
2252
        "https://www.googleapis.com/auth/androidpublisher"
 
2253
       ]
 
2254
      },
 
2255
      "patch": {
 
2256
       "id": "androidpublisher.edits.tracks.patch",
 
2257
       "path": "{packageName}/edits/{editId}/tracks/{track}",
 
2258
       "httpMethod": "PATCH",
 
2259
       "description": "Updates the track configuration for the specified track type. This method supports patch semantics.",
 
2260
       "parameters": {
 
2261
        "editId": {
 
2262
         "type": "string",
 
2263
         "description": "Unique identifier for this edit.",
 
2264
         "required": true,
 
2265
         "location": "path"
 
2266
        },
 
2267
        "packageName": {
 
2268
         "type": "string",
 
2269
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2270
         "required": true,
 
2271
         "location": "path"
 
2272
        },
 
2273
        "track": {
 
2274
         "type": "string",
 
2275
         "description": "The track type to read or modify.",
 
2276
         "required": true,
 
2277
         "enum": [
 
2278
          "alpha",
 
2279
          "beta",
 
2280
          "production",
 
2281
          "rollout"
 
2282
         ],
 
2283
         "enumDescriptions": [
 
2284
          "",
 
2285
          "",
 
2286
          "",
 
2287
          ""
 
2288
         ],
 
2289
         "location": "path"
 
2290
        }
 
2291
       },
 
2292
       "parameterOrder": [
 
2293
        "packageName",
 
2294
        "editId",
 
2295
        "track"
 
2296
       ],
 
2297
       "request": {
 
2298
        "$ref": "Track"
 
2299
       },
 
2300
       "response": {
 
2301
        "$ref": "Track"
 
2302
       },
 
2303
       "scopes": [
 
2304
        "https://www.googleapis.com/auth/androidpublisher"
 
2305
       ]
 
2306
      },
 
2307
      "update": {
 
2308
       "id": "androidpublisher.edits.tracks.update",
 
2309
       "path": "{packageName}/edits/{editId}/tracks/{track}",
 
2310
       "httpMethod": "PUT",
 
2311
       "description": "Updates the track configuration for the specified track type.",
 
2312
       "parameters": {
 
2313
        "editId": {
 
2314
         "type": "string",
 
2315
         "description": "Unique identifier for this edit.",
 
2316
         "required": true,
 
2317
         "location": "path"
 
2318
        },
 
2319
        "packageName": {
 
2320
         "type": "string",
 
2321
         "description": "Unique identifier for the Android app that is being updated; for example, \"com.spiffygame\".",
 
2322
         "required": true,
 
2323
         "location": "path"
 
2324
        },
 
2325
        "track": {
 
2326
         "type": "string",
 
2327
         "description": "The track type to read or modify.",
 
2328
         "required": true,
 
2329
         "enum": [
 
2330
          "alpha",
 
2331
          "beta",
 
2332
          "production",
 
2333
          "rollout"
 
2334
         ],
 
2335
         "enumDescriptions": [
 
2336
          "",
 
2337
          "",
 
2338
          "",
 
2339
          ""
 
2340
         ],
 
2341
         "location": "path"
 
2342
        }
 
2343
       },
 
2344
       "parameterOrder": [
 
2345
        "packageName",
 
2346
        "editId",
 
2347
        "track"
 
2348
       ],
 
2349
       "request": {
 
2350
        "$ref": "Track"
 
2351
       },
 
2352
       "response": {
 
2353
        "$ref": "Track"
 
2354
       },
 
2355
       "scopes": [
 
2356
        "https://www.googleapis.com/auth/androidpublisher"
 
2357
       ]
 
2358
      }
 
2359
     }
 
2360
    }
 
2361
   }
 
2362
  },
 
2363
  "inappproducts": {
 
2364
   "methods": {
 
2365
    "batch": {
 
2366
     "id": "androidpublisher.inappproducts.batch",
 
2367
     "path": "inappproducts/batch",
 
2368
     "httpMethod": "POST",
 
2369
     "request": {
 
2370
      "$ref": "InappproductsBatchRequest"
 
2371
     },
 
2372
     "response": {
 
2373
      "$ref": "InappproductsBatchResponse"
 
2374
     },
 
2375
     "scopes": [
 
2376
      "https://www.googleapis.com/auth/androidpublisher"
 
2377
     ]
 
2378
    },
 
2379
    "delete": {
 
2380
     "id": "androidpublisher.inappproducts.delete",
 
2381
     "path": "{packageName}/inappproducts/{sku}",
 
2382
     "httpMethod": "DELETE",
 
2383
     "description": "Delete an in-app product for an app.",
 
2384
     "parameters": {
 
2385
      "packageName": {
 
2386
       "type": "string",
 
2387
       "description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
 
2388
       "required": true,
 
2389
       "location": "path"
 
2390
      },
 
2391
      "sku": {
 
2392
       "type": "string",
 
2393
       "description": "Unique identifier for the in-app product.",
 
2394
       "required": true,
 
2395
       "location": "path"
 
2396
      }
 
2397
     },
 
2398
     "parameterOrder": [
 
2399
      "packageName",
 
2400
      "sku"
 
2401
     ],
 
2402
     "scopes": [
 
2403
      "https://www.googleapis.com/auth/androidpublisher"
 
2404
     ]
 
2405
    },
 
2406
    "get": {
 
2407
     "id": "androidpublisher.inappproducts.get",
 
2408
     "path": "{packageName}/inappproducts/{sku}",
 
2409
     "httpMethod": "GET",
 
2410
     "description": "Returns information about the in-app product specified.",
 
2411
     "parameters": {
 
2412
      "packageName": {
 
2413
       "type": "string",
 
2414
       "required": true,
 
2415
       "location": "path"
 
2416
      },
 
2417
      "sku": {
 
2418
       "type": "string",
 
2419
       "description": "Unique identifier for the in-app product.",
 
2420
       "required": true,
 
2421
       "location": "path"
 
2422
      }
 
2423
     },
 
2424
     "parameterOrder": [
 
2425
      "packageName",
 
2426
      "sku"
 
2427
     ],
 
2428
     "response": {
 
2429
      "$ref": "InAppProduct"
 
2430
     },
 
2431
     "scopes": [
 
2432
      "https://www.googleapis.com/auth/androidpublisher"
 
2433
     ]
 
2434
    },
 
2435
    "insert": {
 
2436
     "id": "androidpublisher.inappproducts.insert",
 
2437
     "path": "{packageName}/inappproducts",
 
2438
     "httpMethod": "POST",
 
2439
     "description": "Creates a new in-app product for an app.",
 
2440
     "parameters": {
 
2441
      "autoConvertMissingPrices": {
 
2442
       "type": "boolean",
 
2443
       "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
 
2444
       "location": "query"
 
2445
      },
 
2446
      "packageName": {
 
2447
       "type": "string",
 
2448
       "description": "Unique identifier for the Android app; for example, \"com.spiffygame\".",
 
2449
       "required": true,
 
2450
       "location": "path"
 
2451
      }
 
2452
     },
 
2453
     "parameterOrder": [
 
2454
      "packageName"
 
2455
     ],
 
2456
     "request": {
 
2457
      "$ref": "InAppProduct"
 
2458
     },
 
2459
     "response": {
 
2460
      "$ref": "InAppProduct"
 
2461
     },
 
2462
     "scopes": [
 
2463
      "https://www.googleapis.com/auth/androidpublisher"
 
2464
     ]
 
2465
    },
 
2466
    "list": {
 
2467
     "id": "androidpublisher.inappproducts.list",
 
2468
     "path": "{packageName}/inappproducts",
 
2469
     "httpMethod": "GET",
 
2470
     "description": "List all the in-app products for an Android app, both subscriptions and managed in-app products..",
 
2471
     "parameters": {
 
2472
      "maxResults": {
 
2473
       "type": "integer",
 
2474
       "format": "uint32",
 
2475
       "location": "query"
 
2476
      },
 
2477
      "packageName": {
 
2478
       "type": "string",
 
2479
       "description": "Unique identifier for the Android app with in-app products; for example, \"com.spiffygame\".",
 
2480
       "required": true,
 
2481
       "location": "path"
 
2482
      },
 
2483
      "startIndex": {
 
2484
       "type": "integer",
 
2485
       "format": "uint32",
 
2486
       "location": "query"
 
2487
      },
 
2488
      "token": {
 
2489
       "type": "string",
 
2490
       "location": "query"
 
2491
      }
 
2492
     },
 
2493
     "parameterOrder": [
 
2494
      "packageName"
 
2495
     ],
 
2496
     "response": {
 
2497
      "$ref": "InappproductsListResponse"
 
2498
     },
 
2499
     "scopes": [
 
2500
      "https://www.googleapis.com/auth/androidpublisher"
 
2501
     ]
 
2502
    },
 
2503
    "patch": {
 
2504
     "id": "androidpublisher.inappproducts.patch",
 
2505
     "path": "{packageName}/inappproducts/{sku}",
 
2506
     "httpMethod": "PATCH",
 
2507
     "description": "Updates the details of an in-app product. This method supports patch semantics.",
 
2508
     "parameters": {
 
2509
      "autoConvertMissingPrices": {
 
2510
       "type": "boolean",
 
2511
       "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
 
2512
       "location": "query"
 
2513
      },
 
2514
      "packageName": {
 
2515
       "type": "string",
 
2516
       "description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
 
2517
       "required": true,
 
2518
       "location": "path"
 
2519
      },
 
2520
      "sku": {
 
2521
       "type": "string",
 
2522
       "description": "Unique identifier for the in-app product.",
 
2523
       "required": true,
 
2524
       "location": "path"
 
2525
      }
 
2526
     },
 
2527
     "parameterOrder": [
 
2528
      "packageName",
 
2529
      "sku"
 
2530
     ],
 
2531
     "request": {
 
2532
      "$ref": "InAppProduct"
 
2533
     },
 
2534
     "response": {
 
2535
      "$ref": "InAppProduct"
 
2536
     },
 
2537
     "scopes": [
 
2538
      "https://www.googleapis.com/auth/androidpublisher"
 
2539
     ]
 
2540
    },
 
2541
    "update": {
 
2542
     "id": "androidpublisher.inappproducts.update",
 
2543
     "path": "{packageName}/inappproducts/{sku}",
 
2544
     "httpMethod": "PUT",
 
2545
     "description": "Updates the details of an in-app product.",
 
2546
     "parameters": {
 
2547
      "autoConvertMissingPrices": {
 
2548
       "type": "boolean",
 
2549
       "description": "If true the prices for all regions targeted by the parent app that don't have a price specified for this in-app product will be auto converted to the target currency based on the default price. Defaults to false.",
 
2550
       "location": "query"
 
2551
      },
 
2552
      "packageName": {
 
2553
       "type": "string",
 
2554
       "description": "Unique identifier for the Android app with the in-app product; for example, \"com.spiffygame\".",
 
2555
       "required": true,
 
2556
       "location": "path"
 
2557
      },
 
2558
      "sku": {
 
2559
       "type": "string",
 
2560
       "description": "Unique identifier for the in-app product.",
 
2561
       "required": true,
 
2562
       "location": "path"
 
2563
      }
 
2564
     },
 
2565
     "parameterOrder": [
 
2566
      "packageName",
 
2567
      "sku"
 
2568
     ],
 
2569
     "request": {
 
2570
      "$ref": "InAppProduct"
 
2571
     },
 
2572
     "response": {
 
2573
      "$ref": "InAppProduct"
 
2574
     },
 
2575
     "scopes": [
 
2576
      "https://www.googleapis.com/auth/androidpublisher"
 
2577
     ]
 
2578
    }
 
2579
   }
 
2580
  },
 
2581
  "purchases": {
 
2582
   "resources": {
 
2583
    "products": {
 
2584
     "methods": {
 
2585
      "get": {
 
2586
       "id": "androidpublisher.purchases.products.get",
 
2587
       "path": "{packageName}/purchases/products/{productId}/tokens/{token}",
 
2588
       "httpMethod": "GET",
 
2589
       "description": "Checks the purchase and consumption status of an inapp item.",
 
2590
       "parameters": {
 
2591
        "packageName": {
 
2592
         "type": "string",
 
2593
         "description": "The package name of the application the inapp product was sold in (for example, 'com.some.thing').",
 
2594
         "required": true,
 
2595
         "location": "path"
 
2596
        },
 
2597
        "productId": {
 
2598
         "type": "string",
 
2599
         "description": "The inapp product SKU (for example, 'com.some.thing.inapp1').",
 
2600
         "required": true,
 
2601
         "location": "path"
 
2602
        },
 
2603
        "token": {
 
2604
         "type": "string",
 
2605
         "description": "The token provided to the user's device when the inapp product was purchased.",
 
2606
         "required": true,
 
2607
         "location": "path"
 
2608
        }
 
2609
       },
 
2610
       "parameterOrder": [
 
2611
        "packageName",
 
2612
        "productId",
 
2613
        "token"
 
2614
       ],
 
2615
       "response": {
 
2616
        "$ref": "ProductPurchase"
 
2617
       },
 
2618
       "scopes": [
 
2619
        "https://www.googleapis.com/auth/androidpublisher"
 
2620
       ]
 
2621
      }
 
2622
     }
 
2623
    },
 
2624
    "subscriptions": {
 
2625
     "methods": {
 
2626
      "cancel": {
 
2627
       "id": "androidpublisher.purchases.subscriptions.cancel",
 
2628
       "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel",
 
2629
       "httpMethod": "POST",
 
2630
       "description": "Cancels a user's subscription purchase. The subscription remains valid until its expiration time.",
 
2631
       "parameters": {
 
2632
        "packageName": {
 
2633
         "type": "string",
 
2634
         "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
 
2635
         "required": true,
 
2636
         "location": "path"
 
2637
        },
 
2638
        "subscriptionId": {
 
2639
         "type": "string",
 
2640
         "description": "The purchased subscription ID (for example, 'monthly001').",
 
2641
         "required": true,
 
2642
         "location": "path"
 
2643
        },
 
2644
        "token": {
 
2645
         "type": "string",
 
2646
         "description": "The token provided to the user's device when the subscription was purchased.",
 
2647
         "required": true,
 
2648
         "location": "path"
 
2649
        }
 
2650
       },
 
2651
       "parameterOrder": [
 
2652
        "packageName",
 
2653
        "subscriptionId",
 
2654
        "token"
 
2655
       ],
 
2656
       "scopes": [
 
2657
        "https://www.googleapis.com/auth/androidpublisher"
 
2658
       ]
 
2659
      },
 
2660
      "defer": {
 
2661
       "id": "androidpublisher.purchases.subscriptions.defer",
 
2662
       "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer",
 
2663
       "httpMethod": "POST",
 
2664
       "description": "Defers a user's subscription purchase until a specified future expiration time.",
 
2665
       "parameters": {
 
2666
        "packageName": {
 
2667
         "type": "string",
 
2668
         "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
 
2669
         "required": true,
 
2670
         "location": "path"
 
2671
        },
 
2672
        "subscriptionId": {
 
2673
         "type": "string",
 
2674
         "description": "The purchased subscription ID (for example, 'monthly001').",
 
2675
         "required": true,
 
2676
         "location": "path"
 
2677
        },
 
2678
        "token": {
 
2679
         "type": "string",
 
2680
         "description": "The token provided to the user's device when the subscription was purchased.",
 
2681
         "required": true,
 
2682
         "location": "path"
 
2683
        }
 
2684
       },
 
2685
       "parameterOrder": [
 
2686
        "packageName",
 
2687
        "subscriptionId",
 
2688
        "token"
 
2689
       ],
 
2690
       "request": {
 
2691
        "$ref": "SubscriptionPurchasesDeferRequest"
 
2692
       },
 
2693
       "response": {
 
2694
        "$ref": "SubscriptionPurchasesDeferResponse"
 
2695
       },
 
2696
       "scopes": [
 
2697
        "https://www.googleapis.com/auth/androidpublisher"
 
2698
       ]
 
2699
      },
 
2700
      "get": {
 
2701
       "id": "androidpublisher.purchases.subscriptions.get",
 
2702
       "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}",
 
2703
       "httpMethod": "GET",
 
2704
       "description": "Checks whether a user's subscription purchase is valid and returns its expiry time.",
 
2705
       "parameters": {
 
2706
        "packageName": {
 
2707
         "type": "string",
 
2708
         "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
 
2709
         "required": true,
 
2710
         "location": "path"
 
2711
        },
 
2712
        "subscriptionId": {
 
2713
         "type": "string",
 
2714
         "description": "The purchased subscription ID (for example, 'monthly001').",
 
2715
         "required": true,
 
2716
         "location": "path"
 
2717
        },
 
2718
        "token": {
 
2719
         "type": "string",
 
2720
         "description": "The token provided to the user's device when the subscription was purchased.",
 
2721
         "required": true,
 
2722
         "location": "path"
 
2723
        }
 
2724
       },
 
2725
       "parameterOrder": [
 
2726
        "packageName",
 
2727
        "subscriptionId",
 
2728
        "token"
 
2729
       ],
 
2730
       "response": {
 
2731
        "$ref": "SubscriptionPurchase"
 
2732
       },
 
2733
       "scopes": [
 
2734
        "https://www.googleapis.com/auth/androidpublisher"
 
2735
       ]
 
2736
      },
 
2737
      "refund": {
 
2738
       "id": "androidpublisher.purchases.subscriptions.refund",
 
2739
       "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund",
 
2740
       "httpMethod": "POST",
 
2741
       "description": "Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.",
 
2742
       "parameters": {
 
2743
        "packageName": {
 
2744
         "type": "string",
 
2745
         "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
 
2746
         "required": true,
 
2747
         "location": "path"
 
2748
        },
 
2749
        "subscriptionId": {
 
2750
         "type": "string",
 
2751
         "description": "The purchased subscription ID (for example, 'monthly001').",
 
2752
         "required": true,
 
2753
         "location": "path"
 
2754
        },
 
2755
        "token": {
 
2756
         "type": "string",
 
2757
         "description": "The token provided to the user's device when the subscription was purchased.",
 
2758
         "required": true,
 
2759
         "location": "path"
 
2760
        }
 
2761
       },
 
2762
       "parameterOrder": [
 
2763
        "packageName",
 
2764
        "subscriptionId",
 
2765
        "token"
 
2766
       ],
 
2767
       "scopes": [
 
2768
        "https://www.googleapis.com/auth/androidpublisher"
 
2769
       ]
 
2770
      },
 
2771
      "revoke": {
 
2772
       "id": "androidpublisher.purchases.subscriptions.revoke",
 
2773
       "path": "{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke",
 
2774
       "httpMethod": "POST",
 
2775
       "description": "Refunds and immediately revokes a user's subscription purchase. Access to the subscription will be terminated immediately and it will stop recurring.",
 
2776
       "parameters": {
 
2777
        "packageName": {
 
2778
         "type": "string",
 
2779
         "description": "The package name of the application for which this subscription was purchased (for example, 'com.some.thing').",
 
2780
         "required": true,
 
2781
         "location": "path"
 
2782
        },
 
2783
        "subscriptionId": {
 
2784
         "type": "string",
 
2785
         "description": "The purchased subscription ID (for example, 'monthly001').",
 
2786
         "required": true,
 
2787
         "location": "path"
 
2788
        },
 
2789
        "token": {
 
2790
         "type": "string",
 
2791
         "description": "The token provided to the user's device when the subscription was purchased.",
 
2792
         "required": true,
 
2793
         "location": "path"
 
2794
        }
 
2795
       },
 
2796
       "parameterOrder": [
 
2797
        "packageName",
 
2798
        "subscriptionId",
 
2799
        "token"
 
2800
       ],
 
2801
       "scopes": [
 
2802
        "https://www.googleapis.com/auth/androidpublisher"
 
2803
       ]
 
2804
      }
 
2805
     }
 
2806
    }
 
2807
   }
 
2808
  }
 
2809
 }
 
2810
}