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:
{
"DisplayName":"Camera",
"Id":"0",
"Name":"hosts\/SERVERNAME\/DeviceIpint.0\/SourceEndpoint.video:0:0"
}
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. |
When a camera name in configuration is in use (see Adding and removing cameras), all backslashes are to be removed. Example: "hosts/SERVERNAME/DeviceIpint.0/SourceEndpoint.video:0:0" |