Method: edits.apks.upload
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-17 UTC.
[null,null,["Last updated 2024-12-17 UTC."],[[["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."]]],["The core actions involve uploading an APK to an application edit using `POST` requests. Two URIs are provided: one for media uploads and another for metadata-only. The URL requires `packageName` and `editId` path parameters. The request body utilizes `ApksUploadRequestBody`, while a successful response returns an `Apk` instance. This process mandates the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization.\n"]]