Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General request format:

Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
titleIn the section:
borderStylesolid
Table of Contents
Column
 

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
{
languagexml
{
	"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

idCamera  ID
channelCamera  channel
statusCamera  status