Realtime
The API mounts Action Cable at /connection, backed by Redis in production.
Channels
Section titled “Channels”| Channel | Parameters | What it does |
|---|---|---|
RealtimeChannel |
venue_id |
Venue chat. Messages a client sends are broadcast to everyone subscribed to the same venue, with type set to incoming. |
GraphQLChannel |
query, operationName |
Runs GraphQL operations, including subscriptions, through execute and transmits { result, variables }. |
AppearanceChannel |
none | Reserved for presence. |
Connect
Section titled “Connect”Send the user’s JWT in the Authorization header when the WebSocket opens:
Authorization: Bearer <user jwt>