Method: generatedapks.download
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir uygulama paketinden oluşturulmuş tek bir imzalı APK indirir.
HTTP isteği
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Uygulamanın paket adı.
|
versionCode |
integer
Uygulama paketinin sürüm kodu.
|
downloadId |
string
generateapks.download kimliği, indirilecek APK'yı benzersiz şekilde tanımlayan bir kimliktir. generatedapks.list yönteminin yanıtından elde edilebilir.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi boş olur.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eDownloads a single signed APK generated from an app bundle using a provided download ID.\u003c/p\u003e\n"],["\u003cp\u003eRequires the package name, version code, and download ID to retrieve the APK.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP GET request with an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUpon successful execution, the response body is empty and the APK is downloaded.\u003c/p\u003e\n"]]],["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"],null,["# Method: generatedapks.download\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDownloads a single signed APK generated from an app bundle.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageName` | `string` Package name of the app. |\n| `versionCode` | `integer` Version code of the app bundle. |\n| `downloadId` | `string` generatedapks.download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]