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