Skip to main content

Poll

No description

type Poll {
id: ID!
candidatePlays: [PollPlay!]!
startsAt: Time!
expiresAt: Time!
votedFor: String
headline: String!
wave: Int!
imageURL: String
}

Fields

id ● ID! non-null scalar

id is the unique identifier of the poll. This is auto-generated upon creation.

candidatePlays ● [PollPlay!]! non-null object

candidatePlays are the plays that can be voted on.

startsAt ● Time! non-null scalar

startsAt is the timestamp that the poll will start at

expiresAt ● Time! non-null scalar

expiresAt is the timestamp that the poll will expire at

votedFor ● String scalar

votedFor can only be populated for an authenticated request. This returns the ID of the play that the user has voted for.

headline ● String! non-null scalar

headline is the name of the player or team - depends on moment type

wave ● Int! non-null scalar

The wave that the TS50 player belongs to

imageURL ● String scalar

imageURL is an optional image url for the given poll

Member of

TS50 object