Go to documentation repository
GET http://IP address:port/web2/secure/events/
| Parameter | Description |
|---|---|
| from | The oldest date of message search period. Example: 2012-12-27T15%3A19%3A16.000%2B03%3A00 |
| to | The latest date of message search period. Example: 2012-12-27T15%3A19%3A16.000%2B03%3A00 |
| count | Maximum number of messages in reply in the range [1, 200]. Default is 20. Server can return more messages if there are few messages in the database |
| objectId | Object class and object ID, which are separated by a colon. Examples: CAM:1, GRAY:5, PEOPLE_COUNTER:1, and so on. Events can be received from several objects separated by commas. Example: objectId=CAM:1,PEOPLE_COUNTER:1—the response contains events from camera 1 and counter 1. If the object ID is not specified in the parameter, then the events from all objects of the specified class are returned. Example: objectId=CAM—the response contains events from all cameras |
| action | Event type. If the parameter is specified, then the response contains only events of the specified type. Examples:
|
...
| Info | ||
|---|---|---|
| ||
You can also get events of the video subsystem in blocks using the WebSocket communication protocol. To do this, add the ActiveWebSocket registry key with the value 1 at the following path: In this case, a general request format is used with ws/: |
...