Versions Compared

Key

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

General request format:

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

Example request

...

:

GET http://192127.1680.150.1821:80/getcamerasResponse

Example response:

{
Code Block
languagexml
{
	"cameras": [

...

{

		{
			"id": 1,

...


			"channel": 1,

...


			"status": "working"

...


		},

...

{

		{
			"id": 2,

...


			"channel ": 2,

...


			"status": "

...

signaIJost"
		}
			]
}

Response parameters:

Parameter

Description

idCamera  ID
channelCamera  channel
statusCamera  status
}
]

...