get_all_device_status
开发中
GET
/get_all_device_status
请求参数
无
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/get_all_device_status'
返回响应
🟢200成功
application/json
Body
device_list
array [object {7}]
必需
working
boolean
必需
mode
boolean
必需
env_temperature
number
a float
target_temperature
number
a float
speed
string | null
可选
total_cost
number
a float
room_id
integer
a int
示例
{
"device_list": [
{
"working": false,
"mode": false,
"env_temperature": 98.2,
"target_temperature": 90.3,
"speed": "low",
"total_cost": 58.3,
"room_id": 1,
}
]
}
修改于 2023-11-30 05:52:12