- discard(废弃)
- demo(模板-参考示例)
- usmile-wx(微信)
- uc(用户统一中心)
- user-web(健康&设备&我的)
- bff-cloud
- iot-sevice(IOT平台)
- cloud-admin(运营后台)
查询设备级官方设置
POST
https://test.myusmile.online/user/v1/setting/getDeviceOfficialSetting
请求参数
Header 参数
TOK
string
可选
默认值:
{{token}}
Body 参数application/json
settingId
integer
设置项Id
modelId
integer
型号id
示例
{
"settingId":17825795,
"modelId":35
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test.myusmile.online/user/v1/setting/getDeviceOfficialSetting' \
--header 'TOK: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"settingId":17825795,
"modelId":35
}'
返回响应
🟢200成功
application/json
Body
flag
boolean
必需
code
integer
必需
message
null
必需
data
string
必需
desc
null
必需
示例
{
"flag": true,
"code": 0,
"message": null,
"data": "string",
"desc": null
}