AI-generated Key Takeaways
-
This document outlines the process for uploading an APK and adding it to the current edit using the Android Publisher API.
-
It provides the HTTP request details, including upload and metadata URIs, for performing this action.
-
Information is included on required path parameters, the structure of the request body, and the expected content of the response body upon success.
-
The necessary authorization scope (
https://www.googleapis.com/auth/androidpublisher
) for executing this request is specified.
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 |
Package name of the app. |
editId |
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