Go to documentation repository
Previous page Next page
GET http://IPaddress:port/prefix/archive/contents/bookmarks/{HOSTNAME}/{ENDTIME}/{BEGINTIME}
{HOSTNAME} − 서버 이름
Note
ENDTIME과 BEGINTIME 구문은 Get MM archive contents 섹션에 설명되어 있습니다.
| 파라미터 | 필수 | 설명 |
|---|---|---|
threshold | No | 지정된 수만큼 결과가 오프셋됩니다. 예를 들어, offset=0인 쿼리가 100개의 결과를 반환했다면, 다음 결과를 얻으려면 offset=100으로 쿼리를 실행해야 합니다. 두 번째 쿼리가 250개의 결과를 반환했다면, 다음 결과를 얻으려면 offset=350으로 쿼리를 실행해야 합니다. |
| limit | No | 받은 북마크 한도. 기본값은 100입니다. |
샘플 요청:
GET http://127.0.0.1:80/archive/contents/bookmarks/Server1/future/past
응답 요청:
{
"archives": [
{
"friendly_name": "AliceBlue",
"storage": "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage"
}
],
"cameras": [
{
"endpoint": "hosts/Server1/DeviceIpint.7/SourceEndpoint.video:0:0",
"friendly_name": "Camera"
}
],
"events": [
{
"archBegin": "2019-03-19T10:06:54.295Z",
"archEnd": "2019-03-19T13:02:41.243Z",
"begins_at": "20190319T114843.000",
"boundary": "((0.4989775;0.4169492);(75.49898;13.41695))",
"comment": "comment",
"endpoint": "hosts/Server1/DeviceIpint.7/SourceEndpoint.video:0:0",
"ends_at": "20190319T115638.000",
"geometry": "f49fa526-c320-404a-9da2-7a090759a717;None;147",
"group_id": "b686e57c-a4e8-44dd-b17e-8c1b805a1b6e",
"id": "7843d488-67e2-4140-ab17-0016e4ba22bc",
"is_protected": false,
"storage_id": "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage",
"timestamp": "20190319T130332.110491",
"user_id": "root"
},
{
"begins_at": "20190319T121747.999",
"boundary": "((0.4989775;0.4169492);(75.49898;13.41695))",
"comment": "protected",
"endpoint": "hosts/Server1/DeviceIpint.7/SourceEndpoint.video:0:0",
"ends_at": "20190319T123101.145",
"geometry": "4cbf8979-4234-4a9a-9838-3026bd4ec496;None;147",
"group_id": "2e184409-ed77-41bb-85d1-92d78d35c882",
"id": "a792a895-00fd-48f9-9bd4-99e572f1579d",
"is_protected": true,
"storage_id": "hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage",
"timestamp": "20190319T130339.722000",
"user_id": "root"
}
]
| 파라미터 | 설명 |
|---|---|
| archives | 북마크를 포함하는 아카이브 배열 |
| cameras | 북마크된 카메라 배열 |
| begins_at | 북마크 시작 및 끝에 해당하는 항목 |
| ends_at | |
| comment | 코멘트 |
| endpoint | 출처 |
| is_protected | 값이 true이면 해당 기록은 덮어쓰기로부터 보호됩니다 (FIFO 덮어쓰기로부터 영상 보호 참조). |
| storage_id | 아카이브 |
| timestamp | 북마크 추가 날짜 |
| user id | 북마크를 추가한 사용자 |