Method: applications.deviceTierConfigs.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ề các cấu hình theo cấp thiết bị đã tạo, sắp xếp theo thời gian tạo giảm dần.
Yêu cầu HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs
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.
|
Tham số truy vấn
Tham số |
pageSize |
integer
Số lượng cấu hình theo cấp thiết bị tối đa cần trả về. Dịch vụ có thể trả về ít hơn giá trị này. Nếu bạn không chỉ định, hệ thống sẽ trả về tối đa 10 cấu hình theo cấp thiết bị. Giá trị tối đa cho trường này là 100; các giá trị lớn hơn 100 sẽ bị buộc thành 100. Các cấu hình theo cấp thiết bị sẽ được sắp xếp theo thời gian tạo giảm dần.
|
pageToken |
string
Mã thông báo trang, nhận được từ lệnh gọi deviceTierConfigs.list trước đó. Cung cấp mã này để truy xuất trang tiếp theo.
|
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 liệt kê các cấu hình hiện có theo cấp thiết bị.
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 |
{
"deviceTierConfigs": [
{
object (DeviceTierConfig )
}
],
"nextPageToken": string
} |
Trường |
deviceTierConfigs[] |
object (DeviceTierConfig )
Cấu hình theo cấp thiết bị do nhà phát triển tạo.
|
nextPageToken |
string
Mã thông báo có thể được gửi dưới dạng pageToken để truy xuất trang tiếp theo. Nếu trường này bị bỏ qua thì sẽ không có trang tiếp theo.
|
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\u003eReturns a list of device tier configs for a specified Android app, ordered by descending creation time.\u003c/p\u003e\n"],["\u003cp\u003eAllows for pagination to retrieve large lists of device tier configs.\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\u003eRequest body should be empty, and the response includes a list of device tier configs and a token for pagination.\u003c/p\u003e\n"]]],["This API retrieves a list of device tier configurations for a specified Android app. It uses a `GET` request to a URL with the app's package name as a path parameter. Optional query parameters `pageSize` (up to 100) and `pageToken` facilitate pagination. The request body is empty. The response, ordered by creation time, is a JSON object containing an array of `deviceTierConfigs` and a `nextPageToken` for further pages. It needs `androidpublisher` authorization scope.\n"],null,["# Method: applications.deviceTierConfigs.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListDeviceTierConfigsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReturns created device tier configs, ordered by descending creation time.\n\n### HTTP request\n\n`GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs`\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\n### Query parameters\n\n| Parameters ||\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of device tier configs to return. The service may return fewer than this value. If unspecified, at most 10 device tier configs will be returned. The maximum value for this field is 100; values above 100 will be coerced to 100. Device tier configs will be ordered by descending creation time. |\n| `pageToken` | `string` A page token, received from a previous `deviceTierConfigs.list` call. Provide this to retrieve the subsequent page. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse listing existing device tier configs.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"deviceTierConfigs\": [ { object (/android-publisher/api-ref/rest/v3/applications.deviceTierConfigs#DeviceTierConfig) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `deviceTierConfigs[]` | `object (`[DeviceTierConfig](/android-publisher/api-ref/rest/v3/applications.deviceTierConfigs#DeviceTierConfig)`)` Device tier configs created by the developer. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]