Can some please explain me how to configure ejabberd rest api support, I could not find any sufficient resource regarding this.
I'm using linux (kubuntu 16.04), so till now I've done
sudo apt-get install ejabberd
and please tell me is there any need of /etc/ejabberd/ejabberd.cfg
or all the config is done in /etc/ejabberd/ejabberd.yml
file.
All configuration is done in ejabberd.yml
. The documentation for oauth and ReST API is here: ejabberd OAuth Support