You need to enable JavaScript to run this app.
导航
查询机型库列表 ListPhoneTemplate
最近更新时间:2025.10.28 14:59:10首次发布时间:2025.10.28 14:59:10
复制全文
我的收藏
有用
有用
无用
无用

查询已创建的机型库的详细信息。您可以传入条件参数查询指定的机型库,也可以不传入条件参数查询机型库列表。

注意事项

本接口的单用户 QPS 限制为 200 次/秒。超过限制,API 调用会被限流。

请求说明

  • 请求方式:POST
  • 请求地址:https://open.volcengineapi.com?Action=ListPhoneTemplate&Version=2025-05-01

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

Query

参数类型是否必选示例值描述
ActionStringListPhoneTemplate接口名称。当前 API 的名称为 ListPhoneTemplate
VersionString2025-05-01接口版本。当前 API 的版本为 2025-05-01

Body

参数类型是否必选示例值描述
PhoneTemplateNameStringOppo1机型库名称,账户下机型库名称唯一。

Status

Integer

1

机型库状态。

  • 1:已发布
  • 2:测试中
  • 3:已废弃
PhoneTemplateIdString7658996557xxxxxx机型库 ID。
TagIdString7658996557xxxxxx机型库标签 ID。
AospVersionString10AOSP 版本号。

MaxResults

Integer

10

分页查询时设置的每页行数。

  • 最大值:100
  • 默认值:10
NextTokenStringAABCToken******分页查询凭证,用于标记分页的位置。初次调用该接口时无需设置。下次查询时,取值为上一次 API 调用返回的 NextToken 参数值。NextToken 无效会从第一条记录开始返回,不会产生错误。

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数类型示例值描述
RowArray of PhoneTemplate-查询到的参数规则信息。参看 PhoneTemplate 定义。
NextTokenStringAABCToken******分页查询时,返回的下一页的 Token。

PhoneTemplate

参数类型示例值描述

Status

Integer

1

机型库状态。

  • 1:已发布
  • 2:测试中
  • 3:已废弃
AospVersionString10AOSP 版本号。
OverlayPropertyArray of SystemProperty-实例 System Properties 系统属性。参看 SystemProperty 定义。
OverlaySettingsArray of Settings-实例 Settings 属性。参看 Settings 定义。
PhoneTemplateIdString7658996557xxxxxx机型库 ID。
PhoneTemplateNameStringOppo1机型库名称。
OverlayPersistPropertyArray of SystemProperty-实例初始化系统属性。参看 SystemProperty 定义。

SystemProperty

参数类型示例值描述
SystemPropertyNameStringro.product.name属性名称,已可修改的系统属性及属性值,参考 System Properties 属性列表
SystemPropertyValueStringsamsung属性值。

SystemPropertyValueType

String

string

属性值数据类型。取值如下:

  • int
  • long
  • string
  • float
  • bool

Settings

参数类型示例值描述
SettingsNameStringlocale_language属性名称,已可修改的 Settings 属性及属性值,参考 Settings 属性列表

SettingsType

String

global

设置类型,取值如下:

  • global
  • secure
  • system

SettingsValue

String

zh-CN

属性值数据类型,取值如下:

  • int
  • long
  • string
  • float
  • bool

SettingsValueType

String

string

属性值。各类型属性取值示例如下:

  • bool: "true"、"false"
  • int\long: "21312"
  • float: "2131.09"
  • string: "safehg"

请求示例

POST https://open.volcengineapi.com?Action=ListPhoneTemplate&Version=2025-05-01
{
    "PhoneTemplateName": "Oppo1",
    "Status": 1,
    "PhoneTemplateId": "7658996557xxxxxx",
    "TagId": "7658996557xxxxxx",
    "AospVersion": "10",
    "MaxResults": 10,
    "NextToken": "AABCToken******"
}

返回示例

{
    "ResponseMetadata": {
        "Action": "ListPhoneTemplate",
        "Region": "cn-north-1",
        "Service": "ACEP",
        "Version": "2025-05-01",
        "RequestId": "20230604110420****100232280022D31"
    },
    "Result": {
        "Row": [
            {
                "Status": 1,
                "AospVersion": "10",
                "OverlayProperty": [
                    {
                        "SystemPropertyName": "ro.product.name",
                        "SystemPropertyValue": "samsung",
                        "SystemPropertyValueType": "string"
                    }
                ],
                "OverlaySettings": [
                    {
                        "SettingsName": "locale_language",
                        "SettingsType": "global",
                        "SettingsValue": "zh-CN",
                        "SettingsValueType": "string"
                    }
                ],
                "PhoneTemplateId": "7658996557xxxxxx",
                "PhoneTemplateName": "Oppo1",
                "OverlayPersistProperty": [
                    {
                        "SystemPropertyName": "ro.product.name",
                        "SystemPropertyValue": "samsung",
                        "SystemPropertyValueType": "string"
                    }
                ]
            }
        ],
        "NextToken": "AABCToken******"
    }
}

错误码

您可访问公共错误码,获取更多错误码信息。