AI-generated Key Takeaways
-
This content describes how to create a system APK from an uploaded Android App Bundle.
-
The process involves sending an HTTP POST request to a specific URL with path parameters for the package name and version code.
-
The request body should contain an instance of a Variant, and a successful response will return a new Variant instance.
-
The required authorization scope for this action is
https://www.googleapis.com/auth/androidpublisher
.
Creates an APK which is suitable for inclusion in a system image from an already uploaded Android App Bundle.
HTTP request
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
packageName |
Package name of the app. |
versionCode |
The version code of the App Bundle. |
Request body
The request body contains an instance of Variant
.
Response body
If successful, the response body contains a newly created instance of Variant
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidpublisher