Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
Previous page Next page
Use the following command to work with the Technoserv integration:
http://<IP address>:<Port>/web2/secure/api/bg[/request]
The 127.0.0.1 IP address and default 8085 port of the Web server 2.0 are given in the examples below. This data is subject to change.
Getting a list of cameras
GET http://127.0.0.1:8085/web2/secure/api/bg
Note.
Example response
Get a list of subscriptions
GET http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions
Example response:
when the list is empty:
{"data": [], "status":"success"}
when the list has subscriptions:
Create subscription
POST http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions
{"callback":"https://webhook.site/26d15078-c405-4918-8f03-4f2a01b7580f","filter":{"action":"RUN","type":"MACRO"},"id":"5"}
Example response:
Delete subscription
DELETE http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions/071e0159-5b2c-4bab-8ed7-42397f1b99b8
Delete all subscriptions
DELETE http://127.0.0.1:8085/web2/secure/api/bg/events/subscriptions/all