Subscriptions
Announcements
Platform announcements (add and remove)
Public
Topic announcements
Platform announcements (add and remove)
Public topic — anyone connected to the WebSocket can subscribe, no API key needed.
Subscribe
Subscribe by calling the subscribe method with this topic.
Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "subscribe",
"params": {
"topics": [
"announcements"
]
}
}Example notification
The server pushes the JSON-RPC notification below for every event on this topic.
Notification
{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"topic": "announcements",
"data": {
"id": "string",
"title": "string",
"message": "string",
"link": "string"
}
}
}