Skip to content

Requests

Requests from a venue’s chat: song requests for whoever is on, and karaoke signups. Each kind has its own queue and is open only while the venue permits it and a host is on the lineup.

Operation Returns Description
requestSong
input: SongRequestCreateInput!
SongRequestCreatePayload Asks for a song, or signs up to sing one, in a venue’s chat room. Everyone in the room sees the REQUEST line, and the host finds it in the queue. Refused while the venue is not taking requests of that kind (see Venue.requests for why). requires requests:write:self
withdrawSongRequest
input: SongRequestWithdrawInput!
SongRequestWithdrawPayload Takes back a song request or karaoke signup of yours that is still waiting. Its chat line shows it withdrawn. requires requests:write:self

Object · implements Node

A song request or karaoke signup made from a venue’s chat (requestSong): one line in the venue night’s queue of its kind, which the host calls up, marks done or skips (setSongRequestState). Its REQUEST chat line follows it.

Field Type Description
artist String Who the song is by, as typed.
calledAt ISO8601DateTime When the host called it up.
createdAt ISO8601DateTime! When it was asked.
event Event The event whose lineup it was made for; null for the venue night’s own.
finishedAt ISO8601DateTime When it was played or sung, skipped or withdrawn.
id ID! Its UUID.
kind SongRequestKind! A song to play, or a karaoke signup.
mine Boolean! Whether the signed-in user asked for it.
night ISO8601Date! The venue night it is on.
note String A dedication or a word for the host.
position Int! Its place in the night’s queue of its kind, from 0.
requesterName String Who asked, as the room shows them (“Aurora B.”); in full for themself, their friends and admins.
singer String Who is singing, for a karaoke signup: the name(s) typed, else the requester. Null for a song request.
spotifyUri String The Spotify song it was shared from (spotify:track:<id>); null when typed or picked without one.
spotifyUrl String The song’s open.spotify.com link, when shared from Spotify.
state SongRequestState! Where it is in the queue.
summary String! The request in words: “Dancing Queen by ABBA”, or “Ada to sing Dancing Queen by ABBA”.
title String! The song.
venue Venue! Where.

Object

The connection type for SongRequest.

Field Type Description
edges [SongRequestEdge] A list of edges.
nodes [SongRequest] A list of nodes.
pageInfo PageInfo! Information to aid in pagination.

Object

An edge in a connection.

Field Type Description
cursor String! A cursor for use in pagination.
node SongRequest The item at the end of the edge.

Object

Whether a venue’s chat takes requests of one kind right now, and the night’s queue of them. Open only while the venue permits the kind and someone who takes it is on the lineup (a host or DJ for song requests, a host for karaoke signups).

Field Type Description
closed Boolean! Whether they are closed for the night: closed early (paused) or past the cutoff (cutOff). The apps show “Signups closed” in place of the “+”.
closedReason String Why requests are closed, fit to show in the room (“Karaoke signups open when a host is on”). Null while open.
closesAt ISO8601DateTime When they close by themselves tonight: Venue.requestsCutoffMinutes before the event on (or the night) ends. Null without a cutoff.
cutOff Boolean! Whether the cutoff closed them (closesAt has passed and the venue has not reopened them for tonight).
finished
after: String
before: String
first: Int
last: Int
SongRequestConnection! Tonight’s requests of this kind that were played or sung, or skipped, the latest first.
host Appearance Who takes them now: the lineup entry on with a role that does. Null when nobody is.
kind SongRequestKind! Which kind.
mine
after: String
before: String
first: Int
last: Int
SongRequestConnection! The signed-in user’s requests of this kind tonight, oldest first; empty signed out.
open Boolean! Whether a request of this kind would be taken right now.
paused Boolean! Whether the venue paused this kind for tonight (updateVenue songRequestsPaused or karaokePaused): what is in the queue stays (the singers on the lineup still sing), nobody new asks.
permitted Boolean! Whether the venue takes this kind at all: song requests switched on, or karaoke run with AudienceKit.
queue
after: String
before: String
first: Int
last: Int
SongRequestConnection! Tonight’s queue of this kind: what is waiting or up, in order.
reopened Boolean! Whether the venue reopened them for tonight past the cutoff (updateVenue karaokeReopened or songRequestsReopened).

Object · implements IVenueRequests

The local Requests implementation of a venue’s song requests and karaoke signups.

Field Type Description
cutoffMinutes Int Minutes before the event on (or the night) ends that both kinds close by themselves (updateVenue requestsCutoffMinutes); null for no cutoff.
karaoke SongRequestWindow! Karaoke signups: open while the venue runs karaoke with AudienceKit and a host is on.
song SongRequestWindow! Song requests: open while the venue takes them and a host or DJ is on.
takesRequests Boolean! Whether the venue takes song requests at all (updateVenue songRequests); whether any are open now is song.open.

Object

Autogenerated return type of SongRequestCreate.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
message VenueMessage! The REQUEST line, as the room sees it.
request SongRequest! The request, in its queue.

Object

Autogenerated return type of SongRequestWithdraw.

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
request SongRequest! The request, withdrawn.

Input

Autogenerated input type of SongRequestCreate

Field Type Description
artist String Who the song is by.
clientMutationId String A unique identifier for the client performing the mutation.
kind SongRequestKind! A song to play, or a karaoke signup.
note String A dedication or a word for the host (up to 280 characters).
singer String Who is singing, for a karaoke signup (“Ada & Bo”); the requester when left out.
spotifyUrl String A Spotify song link the person shared or pasted (open.spotify.com, spotify.link or spotify:track:). Its name and artists fill in title and artist when those are left out.
title String The song; may be left out with spotifyUrl.
venueId ID! The venue whose room you’re in.

Input

Autogenerated input type of SongRequestWithdraw

Field Type Description
clientMutationId String A unique identifier for the client performing the mutation.
id ID! The request.

Interface · implemented by VenueRequestsView · mixin edge requests on Venue

Requests from a venue’s chat: song requests for whoever is on, and karaoke signups. Each kind has its own queue and is open only while the venue permits it and a host is on the lineup.

Field Type Description
cutoffMinutes Int Minutes before the event on (or the night) ends that both kinds close by themselves (updateVenue requestsCutoffMinutes); null for no cutoff.
karaoke SongRequestWindow! Karaoke signups: open while the venue runs karaoke with AudienceKit and a host is on.
song SongRequestWindow! Song requests: open while the venue takes them and a host or DJ is on.
takesRequests Boolean! Whether the venue takes song requests at all (updateVenue songRequests); whether any are open now is song.open.

Enum

What a request from the chat asks for.

  • KARAOKE A karaoke signup: a song the requester wants to sing.
  • SONG A song for the host or DJ to play.

Enum

Where a request is in its queue.

  • DONE Played or sung.
  • QUEUED Waiting its turn.
  • SKIPPED The host passed on it.
  • UP Called up: playing now, or the singer is on.
  • WITHDRAWN The requester took it back.