JSON-RPC:Rpc

The  JSON RPC calls give information about the RPC methods available and the version of those modules.

= API Calls =

Request arguments
None

Response
A response object, with in the result object a "methods" object which is a list of: the API method with in that the name, module name and module version. Like this: { "jsonrpc": "2.0", "method": "rpc.info", "id": 123, "result": { "methods": { "user.get": { "name": "user.get", "module": "rpc/user", "version": "1.0.0" },     "user.list": { "name": "user.list", "module": "rpc/user", "version": "1.0.0" }, ..etc..

Example
Request: {"jsonrpc": "2.0", "method": "rpc.info", "params": {}, "id": 123}

Response: {"jsonrpc": "2.0", "method": "rpc.info", "id": 123, "result": {"methods": {"user.get": {"name": "user.get", "module": "rpc/user", "version": "1.0.0"}, "user.list": {"name": "user.list", "module": "rpc/user", "version": "1.0.0"}, "channel.list": {"name": "channel.list", "module": "rpc/channel", "version": "1.0.0"}, "server_ban.add": {"name": "server_ban.add", "module": "rpc/server_ban", "version": "1.0.1"}, "server_ban.del": {"name": "server_ban.del", "module": "rpc/server_ban", "version": "1.0.1"}, "server_ban.get": {"name": "server_ban.get", "module": "rpc/server_ban", "version": "1.0.1"}, "server_ban.list": {"name": "server_ban.list", "module": "rpc/server_ban", "version": "1.0.1"}, "spamfilter.add": {"name": "spamfilter.add", "module": "rpc/spamfilter", "version": "1.0.2"}, "spamfilter.del": {"name": "spamfilter.del", "module": "rpc/spamfilter", "version": "1.0.2"}, "spamfilter.get": {"name": "spamfilter.get", "module": "rpc/spamfilter", "version": "1.0.2"}, "spamfilter.list": {"name": "spamfilter.list", "module": "rpc/spamfilter", "version": "1.0.2"}, "rpc.info": {"name": "rpc.info", "module": "rpc/rpc", "version": "1.0.0"}}}}