Thanks for the reply!
Yes, I did check out the documentation and all the available Groovy APIs. The closest API to my needs was the AlertHelper API but it did not have any methods to add alerts, only to find them.
I also did look at all the example plugins (including openNMS, which primarily exports platforms to openNMS and sends alerts to openNMS, I did not notice any code that defines a new alert).
Unfortunately none of the examples had any code defining a new alert and adding it to a resource! I have started to look at the backend API, and have grepped through it for some time, but have not been able to find methods that would allow me to add an alert to a resource.
Can anyone point me in the right direction in the backend APIs?
When I'm done I will definitely add the new plugin to the hyperforge!