Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Pinglet

Schemespinglet://, pinglets://
Cargo featureservice-pinglet
Servicehttps://pinglet.co.uk/
Body formatstext (first is the default)
Attachmentsno
Title length250 characters
Body length3,000 characters
Body linesunlimited
Request throttle500 ms between requests
Vendor URLs acceptedno

URL formats

{schema}://{token}@{host}/{namespace}/{topic}
{schema}://{token}@{host}:{port}/{namespace}/{topic}
{schema}://{token}@{host}{path}{namespace}/{topic}
{schema}://{token}@{host}:{port}{path}{namespace}/{topic}

{schema} is one of pinglet://, pinglets://.

URL tokens

TokenMeaningTypeRequiredDefaultNotes
{host}Hostnamestringyes
{namespace}Namespacestringyes
{path}Pathstringno/
{port}Portint, 1 to 65535no
{token}API Keystringyessecret
{topic}Topicstringyes

Query parameters

ParameterMeaningTypeDefaultNotes
priorityPrioritychoicenormalone of silent, normal, urgent
tokenAPI Keystringsets {token}

Prefixed parameters:

  • :name=value: Badges
  • +name=value: Metadata

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):

pinglet://abc123@hostname/acme/deploys
pinglets://abc123@hostname/acme/deploys
pinglet://abc123@hostname/prefix/sub/acme/deploys/
pinglets://hostname/acme/deploys?token=abc123
pinglet://abc123@hostname/acme/deploys?priority=urgent
pinglet://abc123@hostname/acme/deploys?:a=1&:b=2&:c=3&:d=4
pinglet://abc123@hostname/acme/deploys?:CPU=95%25&+region=eu-west

Rejected URLs:

pinglet://
pinglet://:@/
pinglet://hostname/acme/deploys
pinglet://token@hostname

Send one from the command line:

mercurio -t 'Backup' -b 'Finished in 42s' 'pinglet://abc123@hostname/acme/deploys'

Notes

Pinglet (pinglet://, pinglets://): notifications through Pinglet.