Question
How to set bookmark via http command?
Answer
VAST2 v2.6 starts supporting to set bookmark via http command.
Http command is as below:
https://<VAST2 IP address>:3443/api/bookmark?device=<camera CID>&locationID=<Camera RID>&startTime=<UTC time in milliseconds>&endTime=<UTC time in milliseconds>
For example, I would like to set a bookmark to camera C_1 recorded video from 18:56:28 to 18:56:00.
When I sent a http command https://127.0.0.1:3443/api/bookmark?device=C_1&locationID=Loc1&startTime=1571655328000&endTime=1571655360000 to camera C_1 of VAST2 as below picture, VAST2 showed bookmark in camera C_1 recorded videos to mark the time.

* Here is a Unix time converter https://www.epochconverter.com/ to help you convert current date and time to Unix time in milliseconds.
Http command is as below:
https://<VAST2 IP address>:3443/api/bookmark?device=<camera CID>&locationID=<Camera RID>&startTime=<UTC time in milliseconds>&endTime=<UTC time in milliseconds>
For example, I would like to set a bookmark to camera C_1 recorded video from 18:56:28 to 18:56:00.
When I sent a http command https://127.0.0.1:3443/api/bookmark?device=C_1&locationID=Loc1&startTime=1571655328000&endTime=1571655360000 to camera C_1 of VAST2 as below picture, VAST2 showed bookmark in camera C_1 recorded videos to mark the time.

* Here is a Unix time converter https://www.epochconverter.com/ to help you convert current date and time to Unix time in milliseconds.
Comments
0 comments
Article is closed for comments.