summaryrefslogtreecommitdiff
path: root/src/mod_http_api.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-02-14 21:38:36 +0100
committerBadlop <badlop@process-one.net>2022-02-24 01:02:48 +0100
commitd4f288d3c612d44c1ab9e0e2a9a542d46e006395 (patch)
tree9ecb5055896cb12bdab5809e0078b67750cf5594 /src/mod_http_api.erl
parentFix WebSocket uppercase (diff)
Add link in mod_http_api documentation to the docs API section
Diffstat (limited to 'src/mod_http_api.erl')
-rw-r--r--src/mod_http_api.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl
index 2680ef9a..8bd9522c 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -525,8 +525,9 @@ mod_options(_) ->
mod_doc() ->
#{desc =>
- [?T("This module provides a ReST API to call ejabberd commands "
- "using JSON data."), "",
+ [?T("This module provides a ReST interface to call "
+ "https://docs.ejabberd.im/developer/ejabberd-api[ejabberd API] "
+ "commands using JSON data."), "",
?T("To use this module, in addition to adding it to the 'modules' "
"section, you must also enable it in 'listen' -> 'ejabberd_http' -> "
"http://../listen-options/#request-handlers[request_handlers]."), "",