Example of using Camlytics REST API
Events like "Motion started" and "Line crossed" will appear below and every new event will be appended as soon as it occurs. Make sure Camlytics Single software has been started and at least one video channel has been set up to generate events. Alternatively, you can add a manual channel with a fake RTSP/HTTP link. Such video channel will generate "Camera disconnected" events which will also appear below. Also, make sure that the REST API is enabled in global settings.
Please view the source code of this page to see full example. Also open Developer tools for your browser to see additional output (errors and info messages)
[
]