Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

GET http://IPaddress:port/prefix/archive/contents/bookmarks/{HOSTNAME}/{ENDTIME}/{BEGINTIME}

Tip

{HOSTNAME} − Server name.서버 이름


Info
titleNote

The ENDTIME and BEGINTIME syntax is described in ENDTIME과 BEGINTIME 구문은 Get MM archive contents section 섹션에 설명되어 있습니다.


Parameter파라미터Required필수Description설명

threshold

No

Results offset by the specified number. For example, if a query with offset=0 returned 100 results, then in order to get the next results, it is necessary to run a query with offset=100. If the second query returned 250 results, then in order to get the next results, it is necessary to run a query with offset=350, etc지정된 수만큼 결과가 오프셋됩니다. 예를 들어, offset=0인 쿼리가 100개의 결과를 반환했다면, 다음 결과를 얻으려면 offset=100으로 쿼리를 실행해야 합니다. 두 번째 쿼리가 250개의 결과를 반환했다면, 다음 결과를 얻으려면 offset=350으로 쿼리를 실행해야 합니다.

limitNoReceived bookmarks limit. The default value is 100.받은 북마크 한도. 기본값은 100입니다.

샘플 요청Sample request:

GET http://127.0.0.1:80/archive/contents/bookmarks/Server1/future/past

Sample response응답 요청

Code Block
{
    "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"
        }
]


Parameter파라미터Description설명
archivesArray of archives that contain the bookmarks.북마크를 포함하는 아카이브 배열
camerasArray of bookmarked cameras.북마크된 카메라 배열
begins_atCorrespond to the bookmark beginning and ending.북마크 시작 및 끝에 해당하는 항목
ends_at
commentCommentary.코멘트
endpointSource.출처
is_protected

If the value is true then the record is protected from overwriting (see 값이 true이면 해당 기록은 덮어쓰기로부터 보호됩니다 (Protecting video footage from FIFO overwriting 참조).

storage_idArchive.아카이브 
timestampDate of the bookmark adding.북마크 추가 날짜
user id

User who added the bookmark.북마크를 추가한 사용자