summaryrefslogtreecommitdiff
path: root/server/config.yaml.dist
diff options
context:
space:
mode:
authorShyam Sunder <sgsunder1@gmail.com>2020-08-13 19:14:14 -0400
committerShyam Sunder <sgsunder1@gmail.com>2020-08-13 22:41:43 -0400
commit4595f9a2aa1d39f815a62cff2328bc61b0f1a9ed (patch)
tree05e38146d72863d75e20b91e4588d55f54a446a6 /server/config.yaml.dist
parentb74492974df42cc40be0221b7d08ffa0819dba46 (diff)
server: API support for webhooks
Closes #339
Diffstat (limited to 'server/config.yaml.dist')
-rw-r--r--server/config.yaml.dist11
1 files changed, 9 insertions, 2 deletions
diff --git a/server/config.yaml.dist b/server/config.yaml.dist
index 937c138..e3799a3 100644
--- a/server/config.yaml.dist
+++ b/server/config.yaml.dist
@@ -39,8 +39,9 @@ smtp:
user: # example: bot
pass: # example: groovy123
from: # example: noreply@example.com
- # if host is left empty the password reset feature will be disabled, in which case it is
- # recommended to fill contactEmail so that users know who to contact when they want to reset their password
+ # if host is left empty the password reset feature will be disabled,
+ # in which case it is recommended to fill contactEmail so that users
+ # know who to contact when they want to reset their password
contact_email: # example: bob@example.com. Meant for manual password reset procedures
@@ -58,6 +59,12 @@ pool_category_name_regex: ^[^\s%+#/]+$
password_regex: '^.{5,}$'
user_name_regex: '^[a-zA-Z0-9_-]{1,32}$'
+# webhooks to call when events occur (such as post/tag/user/etc. changes)
+# the listed urls will be called with a HTTP POST request with a payload
+# containing a snapshot resource as JSON. See doc/API.md for details
+webhooks:
+ # - https://api.example.com/webhooks/
+
default_rank: regular
privileges: