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 2 Next »

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.

If in the Additional information field on the camera settings panel is filled in the format coords:[longitude]:[latitude]:[angle]:[azimuth]:[radius]then this data will be returned in response to the request in the corresponding parameters. See also Additional information on camera.

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:

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

  • No labels