Alerts
Cada llamada de Alerts para una clave.
- POST
/api/alerts/{id}Post an alert to an automationPolaris' JSON, with the alert address's secret as a bearer token. The automation whose trigger owns the address runs. ntfy's JSON publish is also taken here, with the secret as its topic field. Unknown fields are refused. - POST
/api/alerts/{id}/{token}Post an alert the ntfy wayThe body is the message; the rest goes in headers or the query. With the token message, it is Gotify's create-message, the secret as ?token= or X-Gotify-Key.