Method: generatedapks.download
Hiermit wird ein einzelnes signiertes APK heruntergeladen, das aus einem App-Bundle generiert wurde.
HTTP-Anfrage
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
packageName |
string
Paketname der App.
|
versionCode |
integer
Versionscode des App-Bundles.
|
downloadId |
string
generatedapks.download ID, die das herunterladbare APK eindeutig identifiziert. Kann aus der Antwort der Methode generatedapks.list abgerufen werden.
|
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-18 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-12-18 (UTC)."],[[["Downloads a single signed APK generated from an app bundle using a provided download ID."],["Requires the package name, version code, and download ID to retrieve the APK."],["Utilizes an HTTP GET request with an empty request body."],["Requires authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."],["Upon successful execution, the response body is empty and the APK is downloaded."]]],["This outlines how to download a signed APK using a `GET` request to a specific URL: `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download`. The request requires three path parameters: `packageName`, `versionCode`, and `downloadId`. The request body must be empty. A successful request results in an empty response body. The `androidpublisher` OAuth scope is required for authorization.\n"]]