| 1 |
// Package signalgrid sends push notifications through the Signalgrid Push API. |
| 2 |
// |
| 3 |
// Upstream documentation: https://docs.signalgrid.co/api/push-api/ |
| 4 |
// |
| 5 |
// # URL Format |
| 6 |
// |
| 7 |
// signalgrid://CLIENT_KEY@CHANNEL[?title=...&type=INFO&critical=No] |
| 8 |
// |
| 9 |
// The client key is the URL username and the channel token is the host. |
| 10 |
// |
| 11 |
// # Query Parameters |
| 12 |
// |
| 13 |
// - title: optional notification title. Omitted from the API request when empty. |
| 14 |
// - type: severity (CRIT, WARN, INFO, SUCCESS). Default INFO. Lowercase aliases are accepted. |
| 15 |
// - critical: when true, deliver as a critical alert. Independent of type=CRIT. |
| 16 |
// |
| 17 |
// # Example |
| 18 |
// |
| 19 |
// signalgrid://<client-key>@<channel>?title=Server%20Alert&type=CRIT&critical=Yes |
| 20 |
package signalgrid |