- Contents
- API Instructions
- Error Code
- General
- Input
- Screen
- Device
- Cabinet
- Retrieve Cabinet Information
- Brightness Adjustment
- Color Temperature Adjustment
- Cabinet Control
- Cabinet Identify
- Multi-Mode
- Configure Cabinet Topology
Move Cabinet
PUT
/api/v1/screen/cabinets
All
TIP
Request
Header Params
Content-Type
string
required
Example:
application/json
Body Params application/json
screenID
string
Screen ID
canvases
array [object {2}]
required
canvasID
number
Canvas ID
cabinets
array [object {6}]
Cabinet information
Example
{
"screenID": "88",
"canvases": [
{
"canvasID": 18,
"cabinets": [
{
"cabinetsID": 33,
"connectID": 16,
"outputID": 66,
"position": {
"x": 85,
"y": 88
},
"size": {
"width": 98,
"height": 33
}
}
]
}
]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request PUT 'http://127.0.0.1:8001/api/v1/screen/cabinets' \
--header 'Content-Type: application/json' \
--data-raw '{
"screenID": "88",
"canvases": [
{
"canvasID": 18,
"cabinets": [
{
"cabinetsID": 33,
"connectID": 16,
"outputID": 66,
"position": {
"x": 85,
"y": 88
},
"size": {
"width": 98,
"height": 33
}
}
]
}
]
}'
Responses
🟢200Successful
application/json
Body
code
number
required
data
object | null
optional
message
string
required
Example
{
"code": 0,
"data": null,
"message": "Success"
}
Modified at 2024-07-09 11:01:54