查询当前业务支持的基础版屏幕布局配置列表。
使用 GET 方式发起请求。
下表仅列出了接口特有的请求参数和部分公共参数。完整的公共参数列表,参考 公共请求参数。
字段 | 位置 | 类型 | 必填 | 说明 | 值 |
|---|---|---|---|---|---|
| Action | Query | string | 是 | 公共参数,OpenAPI 接口名称 | ListDisplayLayoutMini |
| Version | Query | string | 是 | 公共参数,OpenAPI 接口版本 | 2022-08-01 |
product_id | Query | string | 是 | 业务 ID | 可在「云手机控制台-业务信息」中获取 |
| display_layout_id | Query | string | 否 | 筛选条件,屏幕布局 ID | 例:163571455047xxxx |
| offset | Query | int64 | 否 | 分页偏移量 | 例:0 |
| count | Query | int64 | 否 | 单页数量 | 例:10 |
通用返回参数,请参考 ResponseMetadata 结构说明。
Result 字段包含以下参数:
字段 | 类型 | 说明 |
|---|---|---|
| total | int | 查询结果总量 |
| row | List<DisplayLayoutMini> | 查询到的屏幕布局信息列表,详细信息,参考以下 DisplayLayoutMini 定义 |
DisplayLayoutMini 定义
字段 | 类型 | 说明 |
|---|---|---|
| display_layout_id | String | 屏幕布局 ID |
| width | int | 屏幕宽度 |
| height | int | 屏幕高度 |
| density | int | 像素密度 |
| fps | int | 屏幕刷新率 |
| extra | string | 备注信息 |
| create_at | int | 屏幕布局创建时间 |
| is_system_config | bool | 是否为系统屏幕布局配置 |
GET https://open.volcengineapi.com?Action=ListDisplayLayoutMini &Version=2022-08-01 &product_id=1591495366954xxxxxx &<通过header传入的公共请求参数>
{ "ResponseMetadata": { "Action": "ListDisplayLayoutMini", "Region": "cn-north-1", "RequestId": "2023110215383378CF29C8418C59DC3765", "Service": "ACEP", "Version": "2022-08-01" }, "Result": { "row": [ { "display_layout_id": "single-display-portrait", "width": 1080, "height": 1920, "density": 320, "fps": 60, "extra": "test", "create_at": 1693377128, "is_system_config": true }, { "display_layout_id": "single-display-landscape", "width": 1920, "height": 1080, "density": 320, "fps": 60, "extra": "test", "create_at": 1693377128, "is_system_config": true }, { "display_layout_id": "e02-display", "width": 1920, "height": 720, "density": 160, "fps": 60, "extra": "test", "create_at": 1693377128, "is_system_config": false } ], "total": 3 } }