Method: applications.deviceTierConfigs.list
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پیکربندی های ردیف دستگاه ایجاد شده را بر اساس زمان ایجاد نزولی مرتب می کند.
درخواست HTTP
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/deviceTierConfigs
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
packageName | string نام بسته برنامه |
پارامترهای پرس و جو
پارامترها |
---|
pageSize | integer حداکثر تعداد تنظیمات لایه دستگاه برای بازگشت. این سرویس ممکن است کمتر از این مقدار را بازگرداند. اگر مشخص نشده باشد، حداکثر 10 پیکربندی ردیف دستگاه برگردانده می شود. حداکثر مقدار برای این فیلد 100 است. مقادیر بالای 100 به 100 تبدیل میشوند. پیکربندیهای ردیف دستگاه با کاهش زمان ایجاد مرتب میشوند. |
pageToken | string یک نشانه صفحه، دریافت شده از تماس قبلی deviceTierConfigs.list . این را برای بازیابی صفحه بعدی ارائه کنید. |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
پاسخ، پیکربندیهای ردیف دستگاه موجود را فهرست میکند.
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی داده هایی با ساختار زیر است:
نمایندگی JSON |
---|
{
"deviceTierConfigs": [
{
object (DeviceTierConfig )
}
],
"nextPageToken": string
} |
فیلدها |
---|
deviceTierConfigs[] | object ( DeviceTierConfig ) تنظیمات ردیف دستگاه ایجاد شده توسط توسعه دهنده. |
nextPageToken | string یک نشانه، که می تواند به عنوان pageToken برای بازیابی صفحه بعدی ارسال شود. اگر این قسمت حذف شود، هیچ صفحه بعدی وجود ندارد. |
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/androidpublisher
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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`"]]