getSceneList
Use the interface to get the scene list.
Request Mode
POST/GET http://ip/V1.0/scene/getSceneList
Request Data
Null
Response Body
{
"sceneList": [
{
"isPGM": false,
"isPreview": false,
"name": "PICTURE",
"uuid": "17170511950740",
"privateGfx": {
"gfxSceneType": 4,
"name": "GFX",
"uuid": "f98f1790-8f38-4467-99fe-bd9e02c7c6bc"
}
},
{
"isPGM": false,
"isPreview": false,
"name": "HDMI 1",
"uuid": "17170511950741",
"privateGfx": {
"gfxSceneType": 0
}
},
{
"isPGM": false,
"isPreview": false,
"name": "HDMI 2",
"uuid": "17170511950742",
"privateGfx": {
"gfxSceneType": 0
}
},
{
"isPGM": false,
"isPreview": false,
"name": "Camera #1",
"uuid": "17170511950754",
"privateGfx": {
"gfxSceneType": 0
}
},
{
"isPGM": false,
"isPreview": false,
"name": "HDMI 1",
"uuid": "1717059172941",
"privateGfx": {
"gfxSceneType": 0
}
},
{
"isPGM": false,
"isPreview": false,
"name": "Camera #1",
"uuid": "1717051945689",
"privateGfx": {
"gfxSceneType": 0
}
},
{
"isPGM": true,
"isPreview": true,
"name": "HDMI 1",
"uuid": "1717059182814",
"privateGfx": {
"gfxSceneType": 0
}
},
{
"isPGM": false,
"isPreview": false,
"name": "Hamedal C10",
"uuid": "1718156142532",
"privateGfx": {
"gfxSceneType": 0
}
}
],
"totalCount": 8,
"message": "SUCCESS",
"status": 0
}
Parameter | Type | Description |
---|---|---|
status | Int | Service status code 0: Success |
message | String | Service status description |
totalCount | Int | Total number of scenes |
sceneList | Array of SceneInfo | The array of scene information |
SceneInfo
Parameter | Type | Description |
---|---|---|
uuid | String | The unique scene ID |
name | String | The name of scene |
isPGM | Boolean | Whether it is the Program scene |
true: Yes; false: No |
|isPreview |Boolean |Whether it is the Preview scene
true: Yes; false: No |
|privateGfx |GFXInfo |Private GFX in a scene |
GFXInfo
Parameter | Type | Description |
---|---|---|
uuid | String | GFX ID, the absence of which indicates that there is no private GFX in the current scene. |
name | String | GFX name |
gfxSceneType | Int | GFX type 0: General 1: Scoreboard 2: Timer 3: Stopwatch 4: Custom 5: Baseball Scoreboard 6: Webpage 8: Soccer Scoreboard 9: PAG |