数据接入接口.txt
609 Bytes
1.获取基础数据配置
方法:GET
路由:/SDCAPI/V1.0/VionSoftware/do/getBaseParm
返回参数:
{
"chn":2, // 当前使用通道号
"frame":10, // 当前使用帧率
"resolutionW":3160, // 当前分辨率宽高
"resolutionH":2840,
"canUseChn":[1,2] //当前可用的通道号列表
}
2.设置基础数据配置
方法:POST
路由:/SDCAPI/V1.0/VionSoftware/do/setBaseParam
请求参数:
{
"chn":2, // 通道号
"frame":10, // 帧率
"resolutionW":3160, // 分辨率宽高
"resolutionH":2840
}
响应:
{
"ecode": "200",
"enote": "OK"
}