Go to documentation repository
Page History
General request format:
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
GetCameras
GET
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.
...
IP-address:port/getcameras
Request example:
GET http://192127.1680.150.1821:809580/getcamerasResponse
Response example:
Code Block |
---|
{
| ||
{ "cameras": [ |
...
{
{ "id": 1, |
...
"channel": 1, |
...
"status": "working" |
...
}, |
...
{
{ "id": 2, |
...
"channel ": 2, |
...
"status": " |
...
signaIJost" |
...
}
]
}
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
{
"firmware version": "1.2.3 Rev B.",
"vendor": "Vendor Title Ltd"
"model": "Device Model",
"serial_number": "12345ABCDEF",
"ptz-status": "not supported"
...
}
]
} |
Response parameters:
Parameter | Description |
---|---|
id | Camera ID |
channel | Camera channel |
status | Camera status |
Overview
Content Tools