![]() Thus, ejabberd API primary goal is to grant access to some or all ejabberd "commands". The role of ejabberd APIĪs we have seen, ejabberd API role is to provide and control access to ejabberd commands over HTTP/HTTPS. You should migrate to ReST if you are using it. Note: The XML-RPC API still works but is deprecated in favor of the ReST API. A module that exposes commands allows server admins to expose it the way they want.Įjabberd commands are universal, extensible and widely available through various configurable entrypoints. A third-party module can expose its own command(s) and feel like a real part ![]() Service), mod_shcommands (ejabberd WebAdmin page).Īny module in ejabberd can add its own command(s) through ejabberd Erlang/Elixir API, making the whole Provides other interfaces that can be installed toĮxecute ejabberd commands in different ways: mod_rest (HTTP POST to some extend, XMPP protocol itself through discovery and adhoc commands, using.mod_http_api for ReST calls using JSON data,.This exposition of commands for third-party modules make it very powerful.Īll commands can be exposed through interfaces. ejabberd standard modules already provide many commands, but the mechanism is generic and any module can provide its own set of commands. ![]() Understanding ejabberd "commands"Įjabberd operations are organised around the concept of commands. Integrate ejabberd with your other back-ends or script through an HTTP / HTTPS ReST API. This section is written to demystify ejabberd API configuration and help you The system is powerful and very versatile and you can configure it very finely, but it can be quite daunting to set up. This can be handy, for example to send a message from your smartwatch, or show the number of offline messages.
0 Comments
Leave a Reply. |