Go to documentation repository
Previous page Next page
POST http://IPaddress:port/prefix/archive/contents/bookmarks/create
요청 본문에는 begins_at, ends_at, comment, is_protected, endpoint 및 storage_id 매개변수가 포함된 JSON이 있어야 합니다. (아카이브에서 북마크 가져오기 참조).
[ { "begins_at":"20190226T102523.000", "comment":"text", "ends_at":"20190226T102646.000", "is_protected":true, "endpoint":"hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0", "storage_id":"hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage" } ]
그룹 북마크 생성을 위한 JSON은 다음과 같습니다.
[ { "begins_at":"20190226T102523.000", "comment":"text", "ends_at":"20190226T102646.000", "is_protected":true, "endpoint":"hosts/Server1/DeviceIpint.1/SourceEndpoint.video:0:0", "storage_id":"hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage" }, { "endpoint":"hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0", "storage_id":"hosts/Server1/MultimediaStorage.AliceBlue/MultimediaStorage" } ]
그룹 북마크는 여러 카메라에 연결되지만 begins_at, ends_at, comment and및 is_protected parameters are taken from the first array of elements.
Attention!
A group bookmark in a GET request (see 아카이브에서 북마크 가져오기) will look like several bookmarks with different endpoint and storage_id parameters.
To edit a group bookmark (see 북마크 편집), it is necessary to edit all single bookmarks at the same time, and make sure that all their other parameters except endpoint and storage_id match.