Browse Source

Updated documentation.

grunfink 1 year ago
parent
commit
e41e5974c7
1 changed files with 8 additions and 0 deletions
  1. 8 0
      doc/snac.1

+ 8 - 0
doc/snac.1

@@ -410,6 +410,14 @@ You can obtain an API Token by connecting to the following URL:
 https://$SNAC_HOST/oauth/x-snac-get-token
 https://$SNAC_HOST/oauth/x-snac-get-token
 .Ed
 .Ed
 .Pp
 .Pp
+.Ss Webhook for notifications
+Since version 2.78, users can set the URL to a webhook that will receive
+an HTTP POST with every notification (in JSON format). This can be used to
+implement some automation whenever a new activity happens. The
+.Pa examples/
+subdirectory contains a tiny Python program that implements an auto-follower
+for every new follow.
+.Pp
 .Sh ENVIRONMENT
 .Sh ENVIRONMENT
 .Bl -tag -width Ds
 .Bl -tag -width Ds
 .It SNAC_BASEDIR
 .It SNAC_BASEDIR