CreateSystemPropertyTemplate - 创建系统属性模板

创建系统属性模板。属性模板中定义的属性键值对,将下发到云手机并通过setprop命令设置到云手机android系统中,APK或相关程序可读取这些属性值。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

TemplateName

string

模板的名称。必须符合以下要求:

  • 长度 2~32 个英文或中文字符。

  • 必须以大小写字母或中文开头,不能以http://https://开头。

  • 可以包含字母、数字、汉字、半角冒号(:)、下划线(_)或短划线(-),不支持点号(.)。

Template1

SystemPropertyInfo

object

系统属性模板信息。

RoBuildFingerprint

string

说明

该参数暂未对外开放使用。

null

RoProductModel

string

说明

该参数暂未对外开放使用。

null

RoProductManufacturer

string

说明

该参数暂未对外开放使用。

null

RoProductBrand

string

说明

该参数暂未对外开放使用。

null

RoBuildUser

string

说明

该参数暂未对外开放使用。

null

RoBuildId

string

说明

该参数暂未对外开放使用。

null

RoBootloader

string

说明

该参数暂未对外开放使用。

null

RoBuildTags

string

说明

该参数暂未对外开放使用。

null

RoProductBoard

string

说明

该参数暂未对外开放使用。

null

RoProductDevice

string

说明

该参数暂未对外开放使用。

null

RoBuildProduct

string

说明

该参数暂未对外开放使用。

null

RoBuildType

string

说明

该参数暂未对外开放使用。

null

RoBuildHost

string

说明

该参数暂未对外开放使用。

null

RoBuildDisplayId

string

说明

该参数暂未对外开放使用。

null

RwRoSerialNo

string

说明

该参数暂未对外开放使用。

null

CustomPropertyInfos

array

自定义属性信息。

object

自定义属性信息。

PropertyName

string

自定义属性 Key。

propKey

PropertyValue

string

自定义属性 Value。

propValue

FilePath

string

属性模板的文件 URL 路径。接口会同步解析文件内容,如果文件内容格式有问题,则会报错解析失败。

说明

文件模板格式:{ "propties":{"key1":"value1"}}

https://filepath****.com

EnableAuto

boolean

是否支持部分预置系统属性自动生成。

true

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

请求 ID。

425F351C-3F8E-5218-A520-B6311D0D****

TemplateId

string

属性模板 ID。

ap-g6gyv4a4xlf****

示例

正常返回示例

JSON格式

{
  "RequestId": "425F351C-3F8E-5218-A520-B6311D0D****",
  "TemplateId": "ap-g6gyv4a4xlf****"
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情