Video sequences can be tagged with bookmarks. Bookmarks improve the sharing of video sequences because additional information can be added to a tagged sequence. The information in bookmarks can be used when searching for relevant video sequences, helping handle incidents and investigations.
Download the OpenAPI specification for the Bookmarks API from https://doc.developer.milestonesys.com/mipvmsapi/api/bookmarks-rest/v1/openapi.yaml.
A bookmark is a tag on a video sequence. Each bookmark has a number of fields that can be searched for.
Get the bookmark identified by {id}.
id required | string <uuid> |
{- "data": {
- "header": "string",
- "description": "string",
- "timeBegin": "2019-08-24T14:15:22Z",
- "timeEnd": "2019-08-24T14:15:22Z",
- "timeTriggered": "2019-08-24T14:15:22Z",
- "reference": "string",
- "user": "string",
- "devicePath": {
- "type": "cameras",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "relations": {
- "self": {
- "type": "bookmarks",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
}
Update specific fields in the bookmark identified by {id}.
id required | string <uuid> |
header | string |
description | string |
timeBegin | string <date-time> |
timeEnd | string <date-time> |
timeTriggered | string <date-time> |
reference | string |
{- "header": "string",
- "description": "string",
- "timeBegin": "2019-08-24T14:15:22Z",
- "timeEnd": "2019-08-24T14:15:22Z",
- "timeTriggered": "2019-08-24T14:15:22Z",
- "reference": "string"
}
{- "httpCode": "400",
- "details": [
- {
- "errorText": "Incorrect formatted JSON",
- "property": "string",
- "errorTextId": "string"
}
]
}
Perform one of 4 tasks:
task
parameter: a new bookmark is created from the bodynewReference
: create a new reference and trigger rules searchTime
: search based on time and text parameters searchFromBookmark
: get bookmarks after the specific onetask | string Name of the task to perform: |
header | string |
description | string |
timeBegin | string <date-time> |
timeEnd | string <date-time> |
timeTriggered | string <date-time> |
reference | string |
user | string |
object (devicePath) | |
object |
{- "header": "string",
- "description": "string",
- "timeBegin": "2019-08-24T14:15:22Z",
- "timeEnd": "2019-08-24T14:15:22Z",
- "timeTriggered": "2019-08-24T14:15:22Z",
- "reference": "string",
- "user": "string",
- "devicePath": {
- "type": "cameras",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "relations": {
- "self": {
- "type": "bookmarks",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
{- "array": [
- {
- "header": "string",
- "description": "string",
- "timeBegin": "2019-08-24T14:15:22Z",
- "timeEnd": "2019-08-24T14:15:22Z",
- "timeTriggered": "2019-08-24T14:15:22Z",
- "reference": "string",
- "user": "string",
- "devicePath": {
- "type": "cameras",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "relations": {
- "self": {
- "type": "bookmarks",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
]
}