Subscriptions
Subscriptions are served over Action Cable (see Realtime). The SDKs open one cable per session and multiplex every subscription on it.
See Core for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
edgeChangededge: Stringid: ID! |
EdgeChanged! |
Follows a record’s lists (a venue’s events, an event’s appearances): an event whenever a member joins, leaves or changes, carrying the member as you may read it. Name an edge to hear about one list only. requires audience:read:self or venues:read:venue |
myNotifications |
PushNotification! |
Your notifications while the app is open, in concert with your devices’ push service: each push sent to you (a friend’s ping, a reply) arrives here too, with the notificationId the device copy carries, so the app shows it itself and skips the system banner. Nothing arrives on subscribing. requires users:read:self |
nodeChangedid: ID! |
NodeChanged! |
Follows a record by its ID: an event whenever it changes or is deleted, carrying the record as you may read it then, so you select what you show and need no refetch. Any Node you can see; nothing arrives until it changes. requires audience:read:self or venues:read:venue |
privateChat |
PrivateChatEvent! |
New lines in any Ping or Quickie chat you are in, and chats closing, while the app is open. Nothing arrives on subscribing: read a chat’s earlier lines from Ping.chat or PairUpMatch.chat. requires users:read:self |
See Chat for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
localeChatlocaleId: ID!watch: Boolean |
ChatRoomEvent! |
Follows a locale’s chat room, for people out in the locale and not at a venue: ChatJoined, then everything the room says and who comes and goes, until ChatLeft. The room’s admins join from anywhere. requires chat:read:self |
venueChatvenueId: ID!watch: Boolean |
ChatRoomEvent! |
Follows a venue’s chat room: ChatJoined, then everything the room says and who comes and goes, until ChatLeft. Open to people at the venue, and to the room’s admins from anywhere. requires chat:read:self or chat:read:venue |