接口说明
根据云机id查询指定云手机属性。
URL
POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/resource/zh/phones/attributes/view
请求参数
Body
|
参数名称
|
类型
|
必填
|
描述
|
|
req
|
OpenapiCloudPhoneViewReq
|
是
|
req |
|
id
|
string
|
是
|
云手机实例ID |
请求示例
POST https://ecloud.10086.cn/api/openapi-cloudphone/api/v1/zycloudphone/resource/zh/phones/attributes/view
{
"id":"1889951219808972813"
}
返回参数
|
参数名称
|
类型
|
描述
|
|
body
|
OpenapiCloudPhoneAttributeDto
|
响应体 |
|
byte_os_mainkeys
|
integer(int32)
|
隐藏虚拟按键,默认为1。0为不隐藏,1为隐藏。 |
|
disable_status_bar
|
integer(int32)
|
是否禁用状态栏,默认为0。1禁用,0不禁用。 |
|
gsm_operator_alpha
|
string
|
网络运营商名称,默认为CMCC |
|
gsm_operator_iso_country
|
string
|
网络运营商国家代码,默认为cn |
|
gsm_operator_numeric
|
string
|
网络提供商的标识码,默认为46000 |
|
gsm_sim_operator_alpha
|
string
|
SIM卡的运营商,默认为CMCC |
|
gsm_sim_operator_iso_country
|
string
|
SIM卡归属国家,默认为cn |
|
gsm_sim_operator_numeric
|
string
|
SIM卡提供商的标识码,默认为46000 |
|
id
|
string
|
云手机实例ID |
|
ro_byte_os_non_root
|
integer(int32)
|
是否非root,默认为1。1为没有root权限,0为有root权限。 |
|
ro_byte_os_notification_disable
|
integer(int32)
|
是否禁用消息通知,默认为0。1禁用,0不禁用。 |
|
ro_byte_os_toast_enable
|
integer(int32)
|
是否启用Toast消息提示框,默认为0。1为启用,0为不启用。 |
|
ro_horizontal_screen
|
integer(int32)
|
是否横屏显示,默认为0。1为有横屏显示,0为没有横屏显示。 |
|
ro_install_auto
|
integer(int32)
|
是否在App安装时自动确认安装,默认为0。1为确认,0为不确认 |
|
ro_permission_changed
|
integer(int32)
|
是否在安装app时自动赋予App请求的所有权限,默认为0。1赋予,0不赋予。 |
|
sys_prop_imeid
|
string
|
MEID(Mobile Equipment Identifier)是用于标识CDMA(Code Division Multiple Access)移动设备的唯⼀标识符 |
|
sys_prop_writeimsi
|
string
|
IMSI(International Mobile Subscriber Identity,国际移动用户识别码) |
|
sys_prop_writephonenum
|
string
|
手机号码 |
|
sys_prop_writewifibssid
|
string
|
是在无线局域⽹(WLAN)中⽤于唯⼀标识基本服务集(BSS)的MAC地址 |
|
sys_prop_writewifissid
|
string
|
无线网络名称 |
|
errorCode
|
string
|
错误编码 |
|
errorMessage
|
string
|
错误信息 |
|
requestId
|
string
|
请求id |
|
state
|
string
|
状态值 |
返回示例
{
"errorCode":"00000000",
"errorMessage":"请求成功",
"requestId":"349d9d01-c319-449a-93dc-6a78ec77f5da",
"state":"OK",
"body":{
"id":"1889951219808972813",
"byte_os_mainkeys":1,
"disable_status_bar":0,
"ro_permission_changed":0,
"ro_install_auto":0,
"ro_byte_os_non_root":1,
"ro_byte_os_notification_disable":0,
"ro_byte_os_toast_enable":0,
"sys_prop_writeimsi":null,
"sys_prop_imeid":null,
"sys_prop_writephonenum":null,
"sys_prop_writewifissid":null,
"sys_prop_writewifibssid":null,
"gsm_sim_operator_iso_country":"cn",
"gsm_sim_operator_numeric":"46000",
"gsm_sim_operator_alpha":"CMCC",
"gsm_operator_iso_country":"cn",
"gsm_operator_numeric":"46000",
"gsm_operator_alpha":"CMCC",
"ro_horizontal_screen":0
}
}