REST Resource: edits.bundles

  • The Bundle resource provides information about an app bundle and is used by the BundlesService.

  • A Bundle object includes the version code, SHA1 hash, and SHA256 hash of the app bundle.

  • The methods available for Bundle resources are list to see current bundles and upload to add a new bundle.

  • Common error codes for Bundle operations include 5xx for server errors and 409 for concurrency update issues, both of which suggest retrying the request.

Resource: Bundle

Information about an app bundle. The resource for BundlesService.

JSON representation
{
  "versionCode": integer,
  "sha1": string,
  "sha256": string
}
Fields
versionCode

integer

The version code of the Android App Bundle, as specified in the Android App Bundle's base module APK manifest file.

sha1

string

A sha1 hash of the upload payload, encoded as a hex string and matching the output of the sha1sum command.

sha256

string

A sha256 hash of the upload payload, encoded as a hex string and matching the output of the sha256sum command.

Methods

list

Lists all current Android App Bundles of the app and edit.

upload

Uploads a new Android App Bundle to this edit.

Error codes

The operations of this resource, return the following HTTP error codes:

Error code Reason Resolution
5xx Generic error in the Google Play server. Retry your request.

If the problem persists contact your Google Play account manager or submit a support request. Consider checking the Play Status Dashboard for any known outages.

409 Concurrency update error.

There was an attempt to update an object that is being updated. For example, a purchase is getting acknowledged by calling the Play Billing Library's acknowledgePurchase() method and by calling the Play Developer API's purchases.products.acknowledge at the same time.

Retry your request.