Pushplus
| Schemes | pushplus://, wecom:// |
| Cargo feature | service-pushplus |
| Service | https://www.pushplus.plus/ |
| Body formats | html (first is the default) |
| Attachments | no |
| Title length | 200 characters |
| Body length | 20,000 characters |
| Body lines | unlimited |
| Request throttle | none |
| Vendor URLs accepted | yes |
URL formats
{schema}://{token}
{schema}://{token}/{targets}
{schema} is one of pushplus://, wecom://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{targets} | Group Topics | list | no | separated by / | |
{token} | User Token | string | yes | secret; must match ^[a-z0-9_-]{32,64}$ |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
channel | Channel | choice | wechat (usually; depends on the URL) | also mode; one of wechat, webhook, cp, mail, sms |
name | Webhook Name | string | ||
to | Group Topics | list | sets {targets} | |
token | User Token | string | sets {token} | |
topic | Group Topics | list | sets {targets} |
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):
wecom://abcdefghij0123456789abcdefghij01
pushplus://abcdefghij0123456789abcdefghij01
pushplus://myhook@abcdefghij0123456789abcdefghij01
pushplus://abcdefghij0123456789abcdefghij01/mygroup
pushplus://abcdefghij0123456789abcdefghij01/group1/group2
pushplus://other@abcdefghij0123456789abcdefghij01?name=myhook
wecom://abcdefghij0123456789abcdefghij01?channel=mail
pushplus://abcdefghij0123456789abcdefghij01?channel=mail
Rejected URLs:
pushplus://abcdefghij0123456789abcdefghij01?channel=fax
https://www.pushplus.plus/send?channel=mail
pushplus://short
pushplus://
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'wecom://abcdefghij0123456789abcdefghij01'
Notes
PushPlus (pushplus://, wecom://): messages through PushPlus.