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)
رمز إصدار حِزمة التطبيق
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
استجابة لإدراج صيغ 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 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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`"]]