Versions Compared

Key

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

Intellect gets commands and events to 10112 porta 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]"

 

Infonote
titleNote.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

The specified port can be changed using the RestPort registry key – see

details in Registry keys reference guide.


Examples:

Add captions to video from 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)).