getSceneList 接口
获取场景列表。
请求方式
POST/GET http://ip/V1.0/scene/getSceneList
请求数据
NULL
返回数据
{
"sceneList": [
{
"name": "PICTURE",
"uuid": "17170511950740"
},
{
"name": "HDMI 1",
"uuid": "17170511950741"
},
{
"name": "HDMI 2",
"uuid": "17170511950742"
},
{
"name": "Camera #1",
"uuid": "17170511950754"
},
{
"name": "HDMI 1",
"uuid": "1717059172941"
},
{
"name": "Camera #1",
"uuid": "1717051945689"
},
{
"name": "HDMI 1",
"uuid": "1717059182814"
},
{
"name": "Hamedal C10",
"uuid": "1718156142532"
}
],
"totalCount": 8,
"message": "SUCCESS",
"status": 0
}
参数 | 类型 | 说明 |
---|---|---|
status | Int | 业务状态码 0:成功 |
message | String | 业务状态描述 |
totalCount | Int | 场景总数 |
sceneList | Array of SceneInfo | 场景数据列表 |
SceneInfo
参数 | 类型 | 说明 |
---|---|---|
uuid | String | 场景唯一标识 |
name | String | 场景名称 |