Method: generatedapks.download
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מתבצעת הורדה של חבילת APK אחת חתומה שנוצרה מ-App Bundle.
בקשת HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download
בכתובת ה-URL נעשה שימוש בתחביר המרת gRPC.
פרמטרים של נתיב
פרמטרים |
packageName |
string
שם החבילה של האפליקציה.
|
versionCode |
integer
קוד הגרסה של ה-App Bundle.
|
downloadId |
string
createdapks.download מזהה, שמזהה באופן ייחודי את ה-APK להורדה. אפשר לקבל מהתגובה של method generatedapks.list .
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התגובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי הרשאות
נדרש היקף OAuth הבא:
https://www.googleapis.com/auth/androidpublisher
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 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`"]]