Able to Create an event with API : https://localhost:443/api/rest/v1/events. I can see the bookmark, However how to see the metadata which I am sending ?

Able to Create an event with API : https://localhost:443/api/rest/v1/events. I can see the bookmark, However how to see the metadata which I am sending in the bookmark?

I am confused because triggering an event should not create a bookmark.

Creating events and bookmark is not the same and reading events and bookmarks is not the same.

You might have a create bookmark on event rule, but that is pure guesswork on my part. Can you please elaborate on how the bookmark comes into play?

Actually the bookmark might be irrelevant and you need only..

Creating event and reading event (restful API) is both documented here: https://doc.developer.milestonesys.com/mipvmsapi/api/events-rest/v1/#tag/Events/operation/Events_GetById

Yes I am creating the bookmark on event rule. How can i expand to include events metadata while defining the bookmark ?

{

"type": "3e350e9e-b884-4717-9ed4-07e34865de86",

"source": "cameras/f82ee791-ed78-41ac-9304-ce4947ba1e8f",

"time": "2023-10-11T00:00:00.0000000Z",

"datatype": "analytics",

"data": {

    "description": "Face Recognition Event",

    "startTime": "2023-10-11T12:05:00.0000000Z",

    "endTime": "2023-10-11T12:06:00.0000000Z",

    "location": " Building1",

    "confidence": 0.99

}

}

In this metadata , I would like to show location and confidence in the bookmark.

The automatic creation of bookmarks using a rule does not allow transfer of data from the event to the bookmark.

You could instead send both an event and bookmark, in that way you can make sure the bookmark includes some extra text.

There is currently no support for creating bookmark using a restful API. There is sample showing how to create bookmarks through code..

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/bookmarkcreator/readme.html&tree=tree_search.html?search=bookmarks

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/bookmarkcreator/readme.html&tree=tree_search.html?search=bookmarks

The two links are samples using the SOAP protocols and MIP Library.