Documentation for Intellect 4.10.4. Documentation for other versions of Intellect is available too.

Previous page Sending HTTP API commands using curl tool  Sending reactions to Intellect via HttpListener Next page


Intellect gets commands and events to a port set in the RestPort registry key:

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

Important!

The RestPort key is set to 0 by default, so the function of sending reactions and events to Intellect using HTTP request is disabled. To enable it, set the RestPort key value, for example, RestPort=10112. See details in Registry keys reference guide.


Examples:

Add captions to video from camera 2 via HTTP request:

http://localhost:10112/intellect_core/React?command="CAM|2|ADD_SUBTITLES|command<Some text\n!>"

Generate alarm on camera 2 via HTTP request:

http://localhost:10112/intellect_core/Event?command="CAM|2|MD_START"

Run Macro 1 via HTTP request:

http://localhost:10112/intellect_core/React?command="MACRO|1|RUN"


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)).

  • No labels