Ntfy
Fleetingpriorities
-
External reference: https://docs.ntfy.sh/publish/#message-priority
The following priorities exist:
Priority Icon ID Name Description Max priority 5 max/urgent Really long vibration bursts, default notification sound with a pop-over notification. High priority 4 high Long vibration burst, default notification sound with a pop-over notification. Default priority (none) 3 default Short default vibration and sound. Default notification behavior. Low priority 2 low No vibration or sound. Notification will not visibly show up until notification drawer is pulled down. Min priority 1 min No vibration or sound. The notification will be under the fold in “Other notifications”. You can set the priority with the header X-Priority (or any of its aliases: Priority, prio, or p).
[…]
curl -H “X-Priority: 5” -d “An urgent message” ntfy.sh/phil_alerts curl -H “Priority: low” -d “Low priority message” ntfy.sh/phil_alerts curl -H p:4 -d “A high priority message” ntfy.sh/phil_alerts