Google Play Android Developer API

Lets Android application developers access their Google Play accounts.

Service: androidpublisher.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://androidpublisher.googleapis.com

REST Resource: v3.edits

Methods
commit POST /androidpublisher/v3/applications/{packageName}/edits/{editId}:commit
Commits an app edit.
delete DELETE /androidpublisher/v3/applications/{packageName}/edits/{editId}
Deletes an app edit.
get GET /androidpublisher/v3/applications/{packageName}/edits/{editId}
Gets an app edit.
insert POST /androidpublisher/v3/applications/{packageName}/edits
Creates a new edit for an app.
validate POST /androidpublisher/v3/applications/{packageName}/edits/{editId}:validate
Validates an app edit.

REST Resource: v3.edits.apks

Methods
addexternallyhosted POST /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/externallyHosted
Creates a new APK without uploading the APK itself to Google Play, instead hosting the APK at a specified URL.
list GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
Lists all current APKs of the app and edit.
upload POST /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
POST /upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
Uploads an APK and adds to the current edit.

REST Resource: v3.edits.bundles

Methods
list GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
Lists all current Android App Bundles of the app and edit.
upload POST /androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
POST /upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
Uploads a new Android App Bundle to this edit.

REST Resource: v3.edits.deobfuscationfiles

Methods
upload POST /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
POST /upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/deobfuscationFiles/{deobfuscationFileType}
Uploads a new deobfuscation file and attaches to the specified APK.

REST Resource: v3.edits.details

Methods
get GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/details
Gets details of an app.
patch PATCH /androidpublisher/v3/applications/{packageName}/edits/{editId}/details
Patches details of an app.
update PUT /androidpublisher/v3/applications/{packageName}/edits/{editId}/details
Updates details of an app.

REST Resource: v3.edits.expansionfiles

Methods
get GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
Fetches the expansion file configuration for the specified APK.
patch PATCH /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
Patches the APK's expansion file configuration to reference another APK's expansion file.
update PUT /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
Updates the APK's expansion file configuration to reference another APK's expansion file.
upload POST /androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
POST /upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
Uploads a new expansion file and attaches to the specified APK.

REST Resource: v3.edits.images

Methods
delete DELETE /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}
Deletes the image (specified by id) from the edit.
deleteall DELETE /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
Deletes all images for the specified language and image type.
list GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
Lists all images.
upload POST /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
POST /upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}/{imageType}
Uploads an image of the specified language and image type, and adds to the edit.

REST Resource: v3.edits.listings

Methods
delete DELETE /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
Deletes a localized store listing.
deleteall DELETE /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings
Deletes all store listings.
get GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
Gets a localized store listing.
list GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings
Lists all localized store listings.
patch PATCH /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
Patches a localized store listing.
update PUT /androidpublisher/v3/applications/{packageName}/edits/{editId}/listings/{language}
Creates or updates a localized store listing.

REST Resource: v3.edits.testers

Methods
get GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}
Gets testers.
patch PATCH /androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}
Patches testers.
update PUT /androidpublisher/v3/applications/{packageName}/edits/{editId}/testers/{track}
Updates testers.

REST Resource: v3.edits.tracks

Methods
get GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
Gets a track.
list GET /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks
Lists all tracks.
patch PATCH /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
Patches a track.
update PUT /androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks/{track}
Updates a track.

REST Resource: v3.inappproducts

Methods
delete DELETE /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
Deletes an in-app product (i.e.
get GET /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
Gets an in-app product, which can be a managed product or a subscription.
insert POST /androidpublisher/v3/applications/{packageName}/inappproducts
Creates an in-app product (i.e.
list GET /androidpublisher/v3/applications/{packageName}/inappproducts
Lists all in-app products - both managed products and subscriptions.
patch PATCH /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
Patches an in-app product (i.e.
update PUT /androidpublisher/v3/applications/{packageName}/inappproducts/{sku}
Updates an in-app product (i.e.

REST Resource: v3.internalappsharingartifacts

Methods
uploadapk POST /androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk
POST /upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/apk
Uploads an APK to internal app sharing.
uploadbundle POST /androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle
POST /upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle
Uploads an app bundle to internal app sharing.

REST Resource: v3.orders

Methods
refund POST /androidpublisher/v3/applications/{packageName}/orders/{orderId}:refund
Refund a user's subscription or in-app purchase order.

REST Resource: v3.purchases.products

Methods
acknowledge POST /androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}:acknowledge
Acknowledges a purchase of an inapp item.
get GET /androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}
Checks the purchase and consumption status of an inapp item.

REST Resource: v3.purchases.subscriptions

Methods
acknowledge POST /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge
Acknowledges a subscription purchase.
cancel POST /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel
Cancels a user's subscription purchase.
defer POST /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer
Defers a user's subscription purchase until a specified future expiration time.
get GET /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}
Checks whether a user's subscription purchase is valid and returns its expiry time.
refund POST /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund
Refunds a user's subscription purchase, but the subscription remains valid until its expiration time and it will continue to recur.
revoke POST /androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke
Refunds and immediately revokes a user's subscription purchase.

REST Resource: v3.purchases.voidedpurchases

Methods
list GET /androidpublisher/v3/applications/{packageName}/purchases/voidedpurchases
Lists the purchases that were canceled, refunded or charged-back.

REST Resource: v3.reviews

Methods
get GET /androidpublisher/v3/applications/{packageName}/reviews/{reviewId}
Gets a single review.
list GET /androidpublisher/v3/applications/{packageName}/reviews
Lists all reviews.
reply POST /androidpublisher/v3/applications/{packageName}/reviews/{reviewId}:reply
Replies to a single review, or updates an existing reply.

REST Resource: v3.systemapks.variants

Methods
create POST /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.
download GET /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download
Downloads a previously created system APK which is suitable for inclusion in a system image.
get GET /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}
Returns a previously created system APK variant.
list GET /androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
Returns the list of previously created system APK variants.