Method: systemapks.variants.list
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מחזירה את רשימת הווריאציות של ה-APK של המערכת שנוצרו קודם לכן.
בקשת HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
packageName |
string
שם החבילה של האפליקציה.
|
versionCode |
string (int64 format)
קוד הגרסה של ה-App Bundle.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
תגובה לרשימת גרסאות APK של המערכת שנוצרו בעבר.
אם הפעולה בוצעה ללא שגיאות, גוף התגובה יכיל נתונים במבנה הבא:
ייצוג JSON |
{
"variants": [
{
object (Variant )
}
]
} |
שדות |
variants[] |
object (Variant )
כל הווריאציות של ה-APK של המערכת נוצרו.
|
היקפי ההרשאות
נדרש היקף ההרשאות הבא של 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\u003eRetrieves a list of previously created system APK variants for a specific app and version code.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes an HTTP GET request with path parameters for package name and version code.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns a JSON response containing an array of system APK variants.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details retrieving a list of system APK variants. The key action is a `GET` HTTP request to a specified URL, incorporating the app's package name and App Bundle version code as path parameters. The request body is empty. A successful response contains a JSON object with a \"variants\" array, where each element represents a system APK variant. The operation requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"],null,["# Method: systemapks.variants.list\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 - [JSON representation](#body.SystemApksListResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReturns the list of previously created system APK variants.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants`\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` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The version code of the App Bundle. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse to list previously created system APK variants.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------|\n| ``` { \"variants\": [ { object (/android-publisher/api-ref/rest/v3/systemapks.variants#Variant) } ] } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------|\n| `variants[]` | `object (`[Variant](/android-publisher/api-ref/rest/v3/systemapks.variants#Variant)`)` All system APK variants created. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]