Versions Compared

Key

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

General request format


Info
titleNote.

Create and configure the Web server object in order to use these requests – see Creating the Web-server object

...


http://[Intellect Server IP]:10112/intellect_core/React?command="[Intellect format command]"
http://[ Intellect Server IP]:10112/intellect_core/Event?command="[ Intellect format command]"

GET
http://[ Intellect Server IP]:10112/video/GetImage/CamNo/UTC_Time

...

titleImportant!

...

{IP}:{port}/intellect_core/React?command="{react}"
http://{IP}:{port}/intellect_core/Event?command="{event}"

or (with the same result)

POST
/intellect_core/React HTTP/1.1
{
    "command" : "{react}"
}

/intellect_core/Event HTTP/1.1
{
    "command" : "{event}"
}

where

IP is an Intellect Server IP

port is a HTTPS Server or HTTPS Server port set when configuring the Web server object – see Setting the parameters of connecting Clients to the Web-server

Request parameters

ParameterIs requiredDescription
commandYes

For React – a reaction in the Intellect format

For Event – an event in the Intellect format

Examples:

Add captions to video from camera 2 via HTTP request:

...

When getting such commands, standard events and reactions will be generated in Intellect – they can be used in scripts and macros (see Creating and using macros section of Administrator’s Guide as well as Programming Guide (JScript)).

Request archive frame (screenshot) from camera 1 on date 07.11.2018 and time 13:20:56.212

...

.

...

The response is a jpeg image or HTTP ERROR 404