WebSocket API

Views

channels

Returns all of the registered web socket channels.

message

Mandatory Parameters: Returns full details of the specified message.
The 'channelId' and 'messageId' can be discovered via the 'messages' view.

messages

Optional Parameters: Returns a list of all of the messages that meet the given criteria - by default all messages are returned
The channelId can be discovered via the 'channels' view.
The 'start' and 'count' parameters can be used to page through the messages
The 'payloadPreviewLength' can be used to restrict the size of the data returned.

Actions

sendTextMessage

Mandatory Parameters: Sends the specified message on the specified channel.
The channelId can be discovered via the 'channels' view.