Method: edits.apks.upload

  • Uploads an APK file to a specific edit of your Android app using either media upload or metadata-only requests.

  • Requires providing the package name and edit ID as path parameters in the request URL.

  • The request body should contain an ApksUploadRequestBody instance for the upload.

  • A successful response will return an Apk object with details about the uploaded APK.

  • You'll need the https://www.googleapis.com/auth/androidpublisher OAuth scope for authorization.

Uploads an APK and adds to the current edit.

HTTP request

  • Upload URI, for media upload requests:
    POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
  • Metadata URI, for metadata-only requests:
    POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
packageName

string

Package name of the app.

editId

string

Identifier of the edit.

Request body

The request body contains an instance of ApksUploadRequestBody.

Response body

If successful, the response body contains an instance of Apk.

Authorization scopes

Requires the following OAuth scope:

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