GеtСameras

GET

http://example.com:[port]/getcameras

Returns the list of IDs of cameras registered on the video encoder/video server. Additionally, it can contain information on the status of the video surveillance device.

Example:

GET http://192.168.15.182:8095/getcameras

Response:

{
"сamerаs": [
{
"id": 1,
"channe1": 1,
"status": "working"
},
{
"id": 2,
channel ": 2,
"status": "signallost"
}
]
}

GetDeviceInfo

GET http://example.com:[port]/getdeviceinfo

Returns information about the device (firmware version, manufacturer, model and serial number).

Example:

GET http://192.168.15.182:8095/getdeviceinfo

Response

{
"firmwаrе version": "1.2.3 Rev В.",
"vendor": "Vendor Title Ltd"
"model": "Device Model",
"serial_number": "12345ABCDEF",
"ptz-status": "not supported"
}