Spike.sh
| Schemes | spike:// |
| Cargo feature | service-spike |
| Service | https://www.spike.sh/ |
| Body formats | text (first is the default) |
| Attachments | no |
| Title length | 250 characters |
| Body length | 32,768 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | yes |
URL formats
{schema}://{token}
{schema} is one of spike://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{token} | Integration Key | string | yes | secret; must match ^[a-z0-9]{32}$ |
Query parameters
No service-specific parameters.
The common URL parameters (format, overflow, verify, redirect, cto, rto, retry, wait, store, tag, tz, user, password, port, optional, emojis) apply as well.
Examples
Accepted URLs (tokens are fake):
spike://1234567890abcdef1234567890abcdef
https://api.spike.sh/v1/alerts/1234567890abcdef1234567890abcdef
spike://?token=1234567890ABCDEF1234567890abcdef
Rejected URLs:
spike://
spike://invalid-key
https://api.spike.sh/v1/alerts/1234567890abcdef
spike://1234567890abcdef1234567890abcdef0
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'spike://1234567890abcdef1234567890abcdef'
Notes
Spike.sh (spike://): alerts through a Spike.sh integration.