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,   endpoint and 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 and및  is_protected parameters are taken from the first array of elements.

...