Method: systemapks.variants.download
Hiermit wird ein zuvor erstelltes System-APK heruntergeladen, das in ein System-Image aufgenommen werden kann.
HTTP-Anfrage
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants/{variantId}:download
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
packageName |
string
Paketname der App.
|
versionCode |
string (int64 format)
Der Versionscode des App-Bundles.
|
variantId |
integer (uint32 format)
Die ID einer zuvor erstellten System-APK-Variante.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich ist, ist der Antworttext leer.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/androidpublisher
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-12-17 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]