Skip to content

Ping

Ping across the audience: what’s the audience’s, not any one viewer’s. The viewer’s own pings and their friends’ are me { ping } (IUserStatePing).

Field Type Description
ping IAudiencePing The instance’s IAudiencePing mixin, when available.
Operation Returns Description
endPing
input: PingEndInput!
PingEndPayload Ends the signed-in user’s ping. requires ping:write:self
joinPing
input: PingJoinInput!
PingJoinPayload Says the signed-in user is in for a ping, for one pick or (with no target) the whole ping. requires ping:write:self
leavePing
input: PingLeaveInput!
PingLeavePayload Takes the signed-in user out of a ping they’re in. requires ping:write:self
sendPing
input: PingSendInput!
PingSendPayload Tells friends the signed-in user wants to go out tonight, naming venues or events, or neither. requires ping:write:self

Object · implements IAudiencePing

The local Ping implementation of the audience’s Ping.

Field Type Description
count Int How many active pings there are tonight. Admins only; a count, never names. requires ping:read:mine or ping:read:my_troupes or ping:read:venue

Object · implements Node

Someone saying they want to go out tonight. It lasts until 5am in its locale. The sender and everyone who’s in make up its circle.

Field Type Description
chat PrivateChat The circle’s chat, once someone has joined: for the sender and everyone who’s in, until the ping ends. Null for anyone else, and in audiences without chat.
createdAt ISO8601DateTime! When it was sent.
expiresAt ISO8601DateTime! When the night ends: 5am local.
id ID! Its ID.
isMine Boolean! Sent by the signed-in user.
joined Boolean! Whether the signed-in user is in.
joins [PingJoin!]! Everyone who’s in, oldest first, leaving out anyone the signed-in user blocked or who blocked them.
note String The sender’s own words.
reach PingReach! Who sees it.
targets [PingTarget!]! The picks, in the order chosen. Empty means anywhere.
user Friend! Who sent it.
via Friend The circle member the signed-in user sees it through, when the sender isn’t their friend.

Object · implements IPingFeed

The local Ping implementation of a scoped feed.

Field Type Description
count Int How many active pings pick it tonight (for a venue, it or one of its events). Admins and the managers of a venue’s or event’s listing only; a count, never names. requires ping:read:mine or ping:read:my_troupes or ping:read:venue
friendPings [Ping!]! Active pings visible through friendship or circle membership.
myPing Ping The viewer’s active ping, if it picks this scope.

Object · implements IUserPing

The local Ping implementation of a user’s visible activity.

Field Type Description
activePing Ping Their active ping in this audience, if visible to the viewer.

Object · implements IUserStatePing

The local Ping implementation of the viewer’s Ping (Extensions::Ping::View, across the audience).

Field Type Description
friendPings [Ping!]! Active pings visible through friendship or circle membership.
myPing Ping The viewer’s active ping, if any.

Object

Autogenerated return type of PingEnd.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
ended Boolean! Whether there was one to end.

Object

Autogenerated return type of PingJoin.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
ping Ping! The ping as it now stands.

Object

Autogenerated return type of PingLeave.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
ping Ping! The ping as it now stands.

Object

Autogenerated return type of PingSend.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
ping Ping! The ping as it now stands.

Input

Autogenerated input type of PingEnd

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.

Input

Autogenerated input type of PingJoin

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
invitationToken String A signed Ping invitation authorizing its recipient to join.
pingId ID! The ping to join.
targetId ID The pick; leave out to be in for the whole ping.

Input

Autogenerated input type of PingLeave

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
pingId ID! The ping to leave.

Input

Autogenerated input type of PingSend

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
eventIds [ID!] Tonight’s events to go to.
localeId ID The app’s current locale; needed when no places are picked.
note String A line in their own words, up to 140 characters.
reach PingReach Who sees it. FRIENDS when first sent.
venueIds [ID!] Venues to go to.

Interface · implemented by AudiencePingView · mixin edge ping on Audience

Ping across the audience: what’s the audience’s, not any one viewer’s. The viewer’s own pings and their friends’ are me { ping } (IUserStatePing).

Field Type Description
count Int How many active pings there are tonight. Admins only; a count, never names. requires ping:read:mine or ping:read:my_troupes or ping:read:venue

Interface · implemented by PingFeedView · mixin edge ping on Venue, Event

Pings visible to the viewer that pick a venue or event. The viewer’s pings across the audience are me { ping } (IUserStatePing).

Field Type Description
count Int How many active pings pick it tonight (for a venue, it or one of its events). Admins and the managers of a venue’s or event’s listing only; a count, never names. requires ping:read:mine or ping:read:my_troupes or ping:read:venue
friendPings [Ping!]! Active pings visible through friendship or circle membership.
myPing Ping The viewer’s active ping, if it picks this scope.

Interface · implemented by UserPingView · mixin edge ping on User, Friend

A user’s Ping activity that the current viewer may see.

Field Type Description
activePing Ping Their active ping in this audience, if visible to the viewer.

Interface · implemented by UserStatePingView · mixin edge ping on UserState

The viewer’s Ping in the audience: their own active ping and the ones they can see.

Field Type Description
friendPings [Ping!]! Active pings visible through friendship or circle membership.
myPing Ping The viewer’s active ping, if any.

Enum

Who sees a ping.

  • FRIENDS Only the sender’s friends.
  • FRIENDS_OF_CIRCLE Friends of anyone in its circle, so it spreads as people join.