HumHub
| Schemes | humhub://, humhubs:// |
| Cargo feature | service-humhub |
| Service | https://www.humhub.com/ |
| Body formats | text (first is the default) |
| Attachments | yes |
| Title length | no title (merged into the body) |
| Body length | 4,000 characters |
| Body lines | unlimited |
| Request throttle | 20 ms between requests |
| Vendor URLs accepted | no |
URL formats
{schema}://{user}@{host}/{targets}
{schema}://{user}@{host}:{port}/{targets}
{schema}://{user}:{password}@{host}/{targets}
{schema}://{user}:{password}@{host}:{port}/{targets}
{schema} is one of humhub://, humhubs://.
URL tokens
| Token | Meaning | Type | Required | Default | Notes |
|---|---|---|---|---|---|
{host} | Hostname | string | yes | ||
{password} | Password | string | no | secret | |
{port} | Port | int, 1 to 65535 | no | ||
{targets} | Targets | list | no | separated by / | |
{user} | Token or Username | string | yes | secret |
Query parameters
| Parameter | Meaning | Type | Default | Notes |
|---|---|---|---|---|
to | Targets | 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):
humhub://mytoken@hostname/1
humhubs://mytoken@hostname/1
humhubs://mytoken@hostname/1/2/3
humhubs://mytoken@hostname/1/?to=2,3
Rejected URLs:
humhub://
humhub://hostname
humhub://token@hostname
humhubs://token@hostname/invalid
Send one from the command line:
mercurio -t 'Backup' -b 'Finished in 42s' 'humhub://mytoken@hostname/1'
Notes
HumHub (humhub://, humhubs://): posts to HumHub spaces or user streams.
One post per container; attachments are uploaded to the post id the server returns. On ?retry=, containers already posted to are not posted again and only their missing attachments are uploaded to the remembered post id.