获取所有箱体信息
GET
/api/v1/device/cabinet
All
提示
请求参数
Header 参数
Device-Key
string
可选
默认值:
10.40.41.200:8001
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com:8001/api/v1/device/cabinet' \
--header 'Device-Key: 10.40.41.200:8001'
返回响应
🟢200成功
application/json
Body
array of:
resolution
object
箱体像素点(仅内部使用)
width
integer
箱体宽
默认值:
0
height
integer
箱体高
默认值:
0
size
object
箱体物理尺寸
width
integer
箱体宽
默认值:
0
height
integer
箱体高
weight
integer
箱体重量(仅内部使用))
默认值:
0
power
integer
箱体功率(仅内部使用)
默认值:
0
gamma
object
R G B Gamma值(仅内部使用)
r
number
红gamma值
默认值:
2.8
g
number
绿gamma值
默认值:
2.8
b
number
蓝gamma值
默认值:
2.8
colorTemperature
integer
色温值
默认值:
6500
voltage
integer