Versions Compared

Key

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

POST http://IPaddress:port/prefix/archive/contents/bookmarks/create

The request body must contain the JSON with the 요청 본문에는 begins_at,  ends_at,   comment,   is_protected,  endpointand  storage_id parameters (see id 매개변수가 포함된 JSON이 있어야 합니다. (아카이브에서 북마크 가져오기 참조):.

Code Block
[
	{
		"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은 다음과 같습니다.

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

A group bookmark will be linked to several cameras, however the 그룹 북마크는 여러 카메라에 연결되지만 begins_at, ends_atcomment and 및  is_protected parameters are taken from the first array of elements 매개변수는 첫 번째 요소 배열에서 가져옵니다.

Note
titleAttention!

A group bookmark in a GET request (see GET 요청에서 그룹 북마크(아카이브에서 북마크 가져오기) will look like several bookmarks with different endpoint and 참조)는 서로 다른 endpointstorage_id parameters. 매개변수를 가진 여러 개의 북마크처럼 보입니다.

그룹 북마크를 편집하려면(북마크 편집 참조) 모든 개별 북마크를 동시에 편집해야 하며 endpointstorage_id를 제외한 다른 모든 매개변수가 일치하는지 확인해야 합니다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.