List sync devices
GET /clip/v2/resource/sync
List all sync devices and their current settings, including the input source, mode, brightness, and color presets.
Example response
json
{
"code": 0,
"data": {
"arr": [
{
"id": "5075D324-2DE0-4C08-AC1B-FB07B1C447A9",
"type": "sync",
"name": "",
"ability": 0,
"on": 0,
"brightness": 0,
"source": 0,
"mode": 0,
"frequency": 0,
"stop_action": 0,
"color_config": 1,
"color_config_1": [
{
"position_x": 0,
"position_y": 0,
"x": 39914,
"y": 20037
}
],
"color_config_2": [],
"color_config_3": [],
"color_config_4": [],
"area_id": "",
"area_name": ""
}
],
"len": 1,
"obj": {}
},
"msg": "success"
}Responses
| Status code | Meaning |
|---|---|
| 200 | OK |
Response fields
HTTP 200 OK
| Field | Type | Required | Description |
|---|---|---|---|
code | integer | Yes | Status code |
msg | string | Yes | Message |
data | object | Yes | Response payload. |
data.obj | object | Yes | Returned resource. |
data.arr | object[] | No | Returned resources. |
data.arr[].id | string | Yes | Sync device ID |
data.arr[].type | string | Yes | Always sync. |
data.arr[].name | string | Yes | Name |
data.arr[].ability | integer | Yes | Capabilities. Reserved. |
data.arr[].on | integer | Yes | On/off state. 0: off; 1: on. |
data.arr[].brightness | integer | Yes | Brightness, from 1 to 100. |
data.arr[].source | integer | Yes | Input source. 0: HDMI1; 1: HDMI2. |
data.arr[].mode | integer | Yes | Mode. 0: video; 1: music; 2: game. |
data.arr[].frequency | integer | Yes | Intensity. 0: low; 1: medium; 2: high; 3: maximum. |
data.arr[].stop_action | integer | Yes | Stop action. 0 keeps the current state; 2 turns the lights off. |
data.arr[].color_config | integer | Yes | Selects the active preset: 1 uses color_config_1, 2 uses color_config_2, and so on. |
data.arr[].color_config_1 | object[] | Yes | Configuration 1 |
data.arr[].color_config_1[].x | integer | Yes | X coordinate |
data.arr[].color_config_1[].y | integer | Yes | Y coordinate |
data.arr[].color_config_2 | object[] | Yes | Configuration 2 |
data.arr[].color_config_2[].x | integer | Yes | X coordinate |
data.arr[].color_config_2[].y | integer | Yes | Y coordinate |
data.arr[].color_config_3 | object[] | Yes | Configuration 3 |
data.arr[].color_config_3[].x | integer | Yes | X coordinate |
data.arr[].color_config_3[].y | integer | Yes | Y coordinate |
data.arr[].color_config_4 | object[] | Yes | Configuration 4 |
data.arr[].color_config_4[].x | integer | Yes | X coordinate |
data.arr[].color_config_4[].y | integer | Yes | Y coordinate |
data.arr[].area_id | string | Yes | ID of the associated synchronization area. |
data.arr[].area_name | string | Yes | Name of the associated synchronization area. |