esl / MongooseIM

MongooseIM is Erlang Solutions' robust, scalable and efficient XMPP server, aimed at large installations. Specifically designed for enterprise purposes, it is fault-tolerant and can utilise the resources of multiple clustered machines.
Other
1.67k stars 427 forks source link

Is there a way to run the admin extras commands via the REST API? #2074

Closed cloudtoad closed 5 years ago

cloudtoad commented 6 years ago

MongooseIM version: latest Installed from: rpm package

There is a mongooseimctl command "connected_users_info" which shows the IP of the connected user. Is there a way to retrieve this information via the REST API? I don't see anything in the docs, and it's not clear to me by looking at the source code...

fenek commented 6 years ago

Hi @cloudtoad

Currently mongooseimctl and admin REST commands do not share commands code, so all available REST commands are documented here: https://mongooseim.readthedocs.io/en/latest/rest-api/Administration-backend/