mod_restful
mod_restful copied to clipboard
RESTful interface to ejabberd
Hi, I am unable to install mod_restful on ejabberd 17.04. It shows following stack trace while installing plugin: ``` opt/ejabberd-17.04/.ejabberd-modules/sources/mod_restful/src/gen_restful_api.erl:48: can't find include file "include/mod_restful.hrl" /opt/ejabberd-17.04/.ejabberd-modules/sources/mod_restful/src/gen_restful_api.erl:63: record rest_req undefined /opt/ejabberd-17.04/.ejabberd-modules/sources/mod_restful/src/gen_restful_api.erl:64:...
Hi. could someone provide an example of how to: 1) update the vcard fields in api/set_vcard 2) retrive a user's vcard in api/get_vcard? Any help rendered is much appreciated.
I had installed mod_restful in ejabberd 16.09 .The api is working fine for user creation,chat room creation etc.But when trying to unregister a user,it is getting the response as 400...
`2016-05-12 23:55:26.648 [error] CRASH REPORT Process with 0 neighbours exited with reason: call to undefined function mod_restful:mod_opt_type(db_type) in application_master:init/4 line 134 2016-05-12 23:55:26.649 [info] Application ejabberd exited with reason: call...
I use ejabberd 16.03 on ubuntu 14.04 my mod_restful config: listen: - port: 5289 module: ejabberd_http request_handlers: "/api": mod_restful mod_restful: api: - path: ["admin"] module: mod_restful_admin params: key: "admin" allowed_commands:...
hi i am working on ejabberd_16.01 and i'm facing problems using mod_restful. ejabberd.yml: ``` listen: - port: 8088 ip: "::" module: ejabberd_http request_handlers: "/api": mod_restful ``` ``` modules: mod_restful: api:...
Hi, I installed the ejabberd 15.09 via the osx installer and installed the mod_restful module via ejabberdctl module_install. Warnings on module_install: src/mod_restful_admin.erl:63: Warning: behaviour gen_restful_api undefined src/mod_restful_register.erl:32: Warning: behaviour gen_restful_api...
Hey there, I've been trying to compile this under windows for the whole day already, and I don't have much of a clue of what's wrong. This is what I've...
thank you ~
I'm using ejabberd 15.04 and CentOS config: ``` mod_restful: api: - path: ["admin"] module: mod_restful_admin params: key: "secret" allowed_commands: [register, unregister, change_password, get_vcard] - path: ["register"] module: mod_restful_register params: key:...