Previous page Next page
GET http://IP-Address:port/prefix/audit/{HOSTNAME}/{ENDTIME}/{BEGINTIME}
{HOSTNAME} − Server name.
Note
The ENDTIME and BEGINTIME syntax is described in Get archive contents section.
Attention!
If ENDTIME < BEGINTIME in the request, then the events in the response will be sorted by time in ascending order.
If ENDTIME > BEGINTIME, then the events will be sorted in descending order.
| Parametr | Required | Description |
|---|---|---|
filter | No | List of events that can be represented both as a range separated with <-> and <:> and a simple code. The list of event types: |
Sample request:
GET http://127.0.0.1:80/audit/SERVER1/past/future?filter=17-20,6,1:4
Sample response:
{
"events": [
{
"data": {
"component": "Camera3",
"componentType": "camera",
"device": "Camera3",
"host": "SERVER1",
"property": "vstream-virtual/folder",
"setting": "Directory",
"value": "D:/Movies/Spirit"
},
"eventType": 17,
"timestamp": "20161205T120410.698000"
},
{
"data": {
"detector": "Face detection",
"device": "Camera1",
"host": "SERVER1"
},
"eventType": 18,
"timestamp": "20161205T120459.319000"
}
]
}