Versions Compared

Key

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

General request format:

...

width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleIn the section:
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:80/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).

Info
titleNote.

Any prefix can be added to the firmware version value returned by the AdditionalVersionString registry key – see Registry keys reference guide.

Example:

GET http://192.168.15.182:80/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