Edits.bundles: upload

Requires authorization

Uploads a new Android App Bundle to this edit. If you are using the Google API client libraries, please increase the timeout of the http request before calling this endpoint (a timeout of 2 minutes is recommended). See: https://developers.google.com/api-client-library/java/google-api-java-client/errors for an example in java.

This method supports an /upload URI and accepts uploaded media with the following characteristics:

  • Maximum file size: 2GB
  • Accepted Media MIME types: application/octet-stream

Request

HTTP request

POST https://www.googleapis.com/upload/androidpublisher/v3/applications/packageName/edits/editId/bundles

Parameters

Parameter name Value Description
Path parameters
editId string Unique identifier for this edit.
packageName string Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
Required query parameters
uploadType string The type of upload request to the /upload URI. Acceptable values are:
  • media - Simple upload. Upload the media data.
  • resumable - Resumable upload. Upload the file in a resumable fashion, using a series of at least two requests.
Optional query parameters
ackBundleInstallationWarning boolean Must be set to true if the bundle installation may trigger a warning on user devices (for example, if installation size may be over a threshold, typically 100 MB).

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/androidpublisher

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an Edits.bundles resource in the response body.