Previous page Next page
POST http://IP-Address:port/prefix/archive/contents/bookmarks/
The request body must contain the data from the GET request (see Get bookmarks from archive), and the hostname parameter:
[
{
"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_new",
"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",
"hostname": "Server1"
}
]
You can edit the following parameters:
ends_at,
comment,
is_protected,
endpoint,
storage_id.
To delete a comment or a bookmark, it is necessary to clear the endpoint and storage_id parameter values.
[
{
"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_new",
"endpoint": "",
"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": "",
"timestamp": "20190319T130332.110491",
"user_id": "root",
"hostname": "Server1"
}
]