domru
domru copied to clipboard
docker: show only 1 cameras in web
if get localhost:18000/cameras, i see json in two cameras (everything is different except the name)
{
"data": [
{
"ID": 123,
"Name": "Ленина 21",
"IsActive": 1,
"IsSound": 1,
"RecordType": 1,
"Quota": 604800,
"MaxBandwidth": null,
"HomeMode": 0,
"Devices": null,
"ParentGroups": [
{
"ID": 1,
"Name": "Ленина 21 #108215",
"ParentID": null
},
{
"ID": 2,
"Name": "Ленина 21 #108215",
"ParentID": 0
}
],
"State": 1,
"TimeZone": 10800,
"MotionDetectorMode": "UNKNOWN",
"ParentID": "45"
},
{
"ID": 321,
"Name": "Ленина 21",
"IsActive": 1,
"IsSound": 0,
"RecordType": 1,
"Quota": 259200,
"MaxBandwidth": null,
"HomeMode": 0,
"Devices": null,
"ParentGroups": [
{
"ID": 3,
"Name": "Ленина 21 #108237",
"ParentID": null
},
{
"ID": 4,
"Name": "Ленина 21 #108237",
"ParentID": 0
}
],
"State": 1,
"TimeZone": 10800,
"MotionDetectorMode": "UNKNOWN",
"ParentID": "49"
}
]
}