Method: generatedapks.download
HTTP 要求
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
packageName |
string
應用程式的套件名稱。
|
versionCode |
integer
應用程式套件的版本代碼。
|
downloadId |
string
generatedapks.download ID,用於唯一識別要下載的 APK。可從 generatedapks.list 方法的回應取得。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/androidpublisher
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-17 (世界標準時間)。
[null,null,["上次更新時間:2024-12-17 (世界標準時間)。"],[[["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"]]