GET http://IP-address:8888/GetCameras
Parameter | Required | Description |
---|---|---|
layoutId | Yes | Layout id (see Getting the list of layouts). 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. |
displayId | Yes | Monitor id (see Getting the list of displays). |
Sample request:
GET http://127.0.0.1:8888/GetCameras?layoutId=102&displayId=\\.\DISPLAY1
Sample 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" } ] }