I’ve just searched the forum, for this…
this is close -> https://forum.pimatic.org/topic/310/execute-rule-through-api
Though, it would be very useful to execute a rule action through a REST call… So we could re-use some of the rules actions.
Because its a little cumbersome to write curl commands for actions that already exist in rules…
So something like this would be great:
PATCH /api/rules/:ruleId/trigger (bypasses the conditions and executes the rules actions)
or PATCH /api/rules/:actionId/execute (where actions were a list of actions)