JSON-RPC:Channel

The  JSON RPC calls can list and retrieve information about channels.

= Structure of a channel = A "Channel object" is used in responses.

= API Calls =

channel.list
List channels.

Request arguments
No mandatory arguments at the moment

Example
{"jsonrpc": "2.0", "method": "channel.list", "params": {}, "id": 123}

channel.get
Retrieve all details of a single channel. This returns more information than a  call, see the end of Structure of a channel.

Request arguments
Mandatory argument:
 * channel: the name of the channel

Example
{"jsonrpc": "2.0", "method": "channel.get", "params": {"channel":"#test"}, "id": 123}