We would like to add a button on the display that allows performing a plugin action, to open a web page.
I can see that the API has executeAnalyticsAction, and that the rules engine can do a HTTP POST to this endpoint. To use this API through the soft trigger rule, a rule may be added through the API. This rule must be updated whenever a new camera needs to be added to the rule's eventResourceIds.
Is there a better way to do this from the plugin? Failing that, is there a built-in way to access the API from the plugin?
Please sign in to leave a comment.