Method: systemapks.variants.download

  • This document provides details on how to download a previously created system APK suitable for a system image.

  • The download is performed using a GET HTTP request to a specific URL structure including package name, version code, and variant ID.

  • The request uses gRPC Transcoding syntax and requires specific path parameters for package name, version code, and variant ID.

  • Both the request and response bodies are empty.

  • Authorization requires the https://www.googleapis.com/auth/androidpublisher OAuth scope.

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
Create a Mobile Website
View Site in Mobile | Classic
Share by: