{
"body": {
"sourceType": 6,
"sourceName": "测试",
"subList": [
{
"connectCapacity": 0,
"decodeCapacity": 4,
"ip": "10.241.10.84",
"isOnline": 1,
"sourceId": 7,
"sourceName": "ONVIF_5_通道_01",
"sourceType": 3,
"time": 5,
"usedType": 255,
"zorder": 0
},
{
"connectCapacity": 0,
"decodeCapacity": 4,
"ip": "10.241.10.85",
"isOnline": 1,
"sourceId": 8,
"sourceName": "ONVIF_4_通道_01",
"sourceType": 3,
"time": 5,
"usedType": 255,
"zorder": 1
}
],"sourceId": 0,
"isUsed": 0,
"ctrl": {
"pullEnable": 0,
"zorder": 0
},
"deviceId": 0
},
"sign": "ZTQ4ZDNjNDRlZmY0OGEyM2U2NTMzMWU3NjBiNTkwYTY=",
"pId": "MzM4",
"timeStamp": "1689586062335"
}curl --location --request POST '/open/api/input/updateSource' \
--header 'Content-Type: application/json' \
--data-raw '{
"body": {
"sourceType": 6,
"sourceName": "测试",
"subList": [
{
"connectCapacity": 0,
"decodeCapacity": 4,
"ip": "10.241.10.84",
"isOnline": 1,
"sourceId": 7,
"sourceName": "ONVIF_5_通道_01",
"sourceType": 3,
"time": 5,
"usedType": 255,
"zorder": 0
},
{
"connectCapacity": 0,
"decodeCapacity": 4,
"ip": "10.241.10.85",
"isOnline": 1,
"sourceId": 8,
"sourceName": "ONVIF_4_通道_01",
"sourceType": 3,
"time": 5,
"usedType": 255,
"zorder": 1
}
],"sourceId": 0,
"isUsed": 0,
"ctrl": {
"pullEnable": 0,
"zorder": 0
},
"deviceId": 0
},
"sign": "ZTQ4ZDNjNDRlZmY0OGEyM2U2NTMzMWU3NjBiNTkwYTY=",
"pId": "MzM4",
"timeStamp": "1689586062335"
}'{
"data": {},
"msg": "string",
"status": 0
}