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 |
|---|---|---|
decisionQueue staffql only |
DecisionQueueChange! |
The decision queue as it changes: a decision added for a person, decided, or set aside to wait on someone else. Nothing arrives on subscribing; read decisions first. requires audience:moderate:* |
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 |
|---|---|---|
chatModeration staffql onlyafter: ID |
ChatModerationEvent! |
The audience’s moderation feed, for its remote moderation provider: every event after after, then each new one as it happens. requires chat:moderate:* |
chatRooms staffql only |
ChatRoom! |
Follows the audience’s chat rooms, as chat { rooms } lists them: a room, fresh, whenever someone joins or leaves it or its messages change (posted, edited, removed, cleared). Admins hear every room; venue listing managers their own venues. Nothing arrives on subscribing. requires chat:read:mine |
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 |
See Cover for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
door staffql onlyvenueId: ID! |
DoorEvent! |
Follows a venue’s door for tonight: DoorOpened, then every cover that’s paid, scanned in or refunded, with fresh totals. For whoever may work the door: its admins, its listing managers, and a venue device with door. requires cover:write:door or cover:write:venue |
Evaluations
Section titled “Evaluations”See Evaluations for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
evaluationQueue staffql onlyevaluationTypes: [String!] |
EvaluationsAvailable! |
Tells a worker device that work of the types it follows is waiting on the evaluation queue: once on subscribing when any is, then as work is queued, and each minute while it waits. requires evaluations:write:* |
See Rooms for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
room staffql onlyid: ID! |
RoomEvent! |
Follows a room you’re in: an event whenever something said or posted there is added, changed (edited, pinned, a reply or file added) or removed, while you’re still in it. Nothing arrives on subscribing. requires rooms:read:member |
Venues
Section titled “Venues”See Venues for the inputs and payloads.
| Operation | Returns | Description |
|---|---|---|
venueDisplay staffql onlyid: ID! |
VenueDisplay! |
Follows a venue screen: the display as it is now, then again whenever it or a slideshow at its venue changes. For the screen itself (a venue device) and whoever runs the venue. requires venues:read:mine or venues:read:venue or venues:admin:* |
venueMusic staffql onlyvenueId: ID! |
VenueMusicChange! |
Follows a venue’s music: READY, then each command for the venue’s Mac (skip, back, pause, play), each song it reports and each change to tonight’s queue. For the venue’s Mac (a venue device with music) to act on, and for whoever runs the show (the venue, the hosts of the event on now) to show. requires venues:read:venue or people:write:mine or people:write:my_troupes or events:write:venue |