Method: systemapks.variants.download
Downloads a previously created system APK which is suitable for inclusion in a system image.
HTTP request
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
packageName |
string
Package name of the app.
|
versionCode |
string (int64 format)
The version code of the App Bundle.
|
variantId |
integer (uint32 format)
The ID of a previously created system APK variant.
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
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."],[[["Downloads a pre-built system APK for embedding in system images."],["Requires specifying package name, version code, and variant ID in the URL."],["Employs an empty request body and returns an empty response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document details how to download a system APK. A `GET` request is sent to a specific URL including `packageName`, `versionCode`, and `variantId` as path parameters. The request body must be empty. A successful request results in an empty response body. This action requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope. The document provides information about parameters like data types and provides a \"try it!\" function, but no information about their results.\n"]]