Method: systemapks.variants.list
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Trả về danh sách các biến thể APK hệ thống đã tạo trước đây.
Yêu cầu HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/systemApks/{versionCode}/variants
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Tham số |
packageName |
string
Tên gói của ứng dụng.
|
versionCode |
string (int64 format)
Mã phiên bản của App Bundle.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Phản hồi cho danh sách các biến thể APK hệ thống đã tạo trước đây.
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON |
{
"variants": [
{
object (Variant )
}
]
} |
Trường |
variants[] |
object (Variant )
Đã tạo tất cả biến thể APK hệ thống.
|
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidpublisher
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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`"]]