diff options
| author | 2025-05-30 19:22:43 +0200 | |
|---|---|---|
| committer | 2025-05-30 19:22:43 +0200 | |
| commit | e41e5974c7943f1eb02497051ce5e8d5c5b40aed (patch) | |
| tree | cd1f8f1879f638456e3f2dd244bd7501a411a0ec | |
| parent | Added web UI to set the notify webhook. (diff) | |
| download | penes-snac2-e41e5974c7943f1eb02497051ce5e8d5c5b40aed.tar.gz penes-snac2-e41e5974c7943f1eb02497051ce5e8d5c5b40aed.tar.xz penes-snac2-e41e5974c7943f1eb02497051ce5e8d5c5b40aed.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.1 | 8 |
1 files changed, 8 insertions, 0 deletions
| @@ -410,6 +410,14 @@ You can obtain an API Token by connecting to the following URL: | |||
| 410 | https://$SNAC_HOST/oauth/x-snac-get-token | 410 | https://$SNAC_HOST/oauth/x-snac-get-token |
| 411 | .Ed | 411 | .Ed |
| 412 | .Pp | 412 | .Pp |
| 413 | .Ss Webhook for notifications | ||
| 414 | Since version 2.78, users can set the URL to a webhook that will receive | ||
| 415 | an HTTP POST with every notification (in JSON format). This can be used to | ||
| 416 | implement some automation whenever a new activity happens. The | ||
| 417 | .Pa examples/ | ||
| 418 | subdirectory contains a tiny Python program that implements an auto-follower | ||
| 419 | for every new follow. | ||
| 420 | .Pp | ||
| 413 | .Sh ENVIRONMENT | 421 | .Sh ENVIRONMENT |
| 414 | .Bl -tag -width Ds | 422 | .Bl -tag -width Ds |
| 415 | .It SNAC_BASEDIR | 423 | .It SNAC_BASEDIR |