GET http://IP-address:8888/GetCameras?layoutId=N&displayId=\\.\DISPLAY1 - getting the list of cameras from layout N of DISPLAY1 for current logged user.
Here is an example of response:
{
"Description": "",
"Status": "OK",
"CameraInfo": [
{
"DisplayName": "1.Camera",
"Id": "1",
"Name": "host/HOSTNAME/DeviceIpint1/SourceEndPoint.video:0:0"
},
{
"DisplayName": "2.Camera",
"Id": "2",
"Name": " host/HOSTNAME/DeviceIpint2/SourceEndPoint.video:0:0"
}
]
}
Note
If the layout with specified id will not be found, then the query will return the list of cameras of the current layout for the specified display.