AI-generated Key Takeaways
- 
          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/androidpublisherOAuth 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 | 
 Package name of the app. | 
| versionCode | 
 The version code of the App Bundle. | 
| variantId | 
 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