REST API Allow User Defined Events to be triggered?

Hi all,

I’m trying to externally trigger an event with camera metadata, which will trigger a rule that will write a bookmark to a particular camera’s video. I’m seeing things to modify the settings of rules/events but not to trigger one, is this possible in the REST api? If not, what would be the best way to get this done? Thank you.

No, this is currently not possible in the Rest API, currently the Rest API reflects what is also in the Configuration API, this means that you can create a user-defined event or analytics event but cannot trigger it using the Rest API.

Assuming you work with protocols and analytics events please explore:

https://doc.developer.milestonesys.com/html/index.html?base=samples/protocolsamples/triggeranalyticseventxml/readme.html&tree=tree_3.html

More on analytics events:

http://download.milestonesys.com/MIPSDK/Samples/TriggerAlarmFromExternal-ConceptSolution.pdf