Method Name
subscribe
subscribeSubscribe to a list of channels.
Parameters
|
channels
array of strings required A list of channels names to subscribe to |
Response
| id string or integer required |
| result object required |
|
result.
current_subscriptions
array of strings required A list of channels subscribed to after the subscribe operation. |
|
result.
status
object required A mapping of channel ⭢ status.Successful subscriptions will have status ok.Failed subscriptions will contain an error message. |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}