APISubscription

Subscription

2 subscriptions, grouped by the domain their name starts with or names, in the order the schema lists them. Subscriptions arrive over the WebSocket at /api/ws.

Workspace 1

workspaceEvents

workspaceEvents(workspaceId: ID!): String!

Subscribe to all real-time events for a workspace. Returns events as JSON strings — the client parses the type field to determine the event kind.

Relay 1

relayStream

relayStream(after: ID): String!

Host events queued for the session's device on this relay, above after (the device's cursor when omitted), then live ones, as JSON strings: {"type":"RelayItem","id","hostServerId","workspaceId","envelope"}, and the DmRequestReceived, QueueOverflow and RevocationAcked notices. While one is open the hosts of the user's workspaces see them online.