Go to documentation repository
Previous page Next page
GET http://IP-address:port/prefix/audit/{HOSTNAME}/{ENDTIME}/{BEGINTIME}
{HOSTNAME} − 서버 이름
Note
ENDTIME과 BEGINTIME 구문은 Get MM archive contents 섹션에 설명되어 있습니다.
Attention!
요청에서 ENDTIME < BEGINTIME 일 경우, 응답의 이벤트는 시간 순으로 오름차순 정렬됩니다.
ENDTIME > BEGINTIME 일 경우, 이벤트는 내림차순으로 정렬됩니다.
| 파라미터 | 필수 | 설명 |
|---|---|---|
filter | No | 다음은 <-> <:> 로 구분된 범위 또는 간단한 코드로 모두 표현할 수 있는 이벤트 목록입니다. 이벤트 유형 목록: |
샘플 요청:
GET http://127.0.0.1:80/audit/SERVER1/past/future?filter=17-20,6,1:4
샘플 응답:
{
"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"
}
]
}