Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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]"
http://[ Intellect Server IP]:10112/video/GetImage/CamNo/UTC_Time

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


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

http://localhost:40000/video/GetImage/1/20181107T132056.212

The response is a jpeg image or HTTP ERROR 404

  • No labels