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"
}, - "deviceName": "string",
- "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 The header text for the bookmark |
| description | string The description text for the bookmark |
| timeBegin | string <date-time> Begin time for the bookmark interval |
| timeEnd | string <date-time> End time for the bookmark interval |
| timeTriggered | string <date-time> Trigger time for the bookmark interval |
| reference | string Bookmark ID |
required | object (devicePath) Object containing the type and ID of the device referenced by this bookmark |
{- "header": "string",
- "description": "string",
- "timeBegin": "2019-08-24T14:15:22Z",
- "timeEnd": "2019-08-24T14:15:22Z",
- "timeTriggered": "2019-08-24T14:15:22Z",
- "reference": "string",
- "devicePath": {
- "type": "cameras",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}{- "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 oneNotes
task is POSTed, the bookmark is created, but the rule system is not triggered.| task | string Name of the task to perform: |
| header required | string The header text for the bookmark |
| description | string The description text for the bookmark |
| timeBegin | string <date-time> Begin time for the bookmark interval |
| timeEnd | string <date-time> End time for the bookmark interval |
| timeTriggered | string <date-time> Trigger time for the bookmark interval |
| reference | string Bookmark ID |
required | object (devicePath) Object containing the type and ID of the device referenced by this bookmark |
{- "header": "string",
- "description": "string",
- "timeBegin": "2019-08-24T14:15:22Z",
- "timeEnd": "2019-08-24T14:15:22Z",
- "timeTriggered": "2019-08-24T14:15:22Z",
- "reference": "string",
- "devicePath": {
- "type": "cameras",
- "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"
}, - "deviceName": "string",
- "relations": {
- "self": {
- "type": "bookmarks",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
}
]
}