OBJECT

Tournament

A tournament

link GraphQL Schema definition

  • type Tournament {
  • id: ID
  • addrState: String
  • # Admin-only view of admins for this tournament
  • #
  • # Arguments
  • # roles: Which roles to show
  • admins(roles: [String]): [User]
  • city: String
  • countryCode: String
  • # When the tournament was created (unix timestamp)
  • createdAt: Timestamp
  • currency: String
  • # When the tournament ends
  • endAt: Timestamp
  • # When does event registration close
  • eventRegistrationClosesAt: Timestamp
  • # Arguments
  • # limit: [Not documented]
  • # filter: [Not documented]
  • events(limit: Int, filter: EventFilter): [Event]
  • # True if tournament has at least one offline event
  • hasOfflineEvents: Boolean
  • hasOnlineEvents: Boolean
  • hashtag: String
  • # Arguments
  • # type: [Not documented]
  • images(type: String): [Image]
  • # True if tournament has at least one online event
  • isOnline: Boolean
  • # Is tournament registration open
  • isRegistrationOpen: Boolean
  • lat: Float
  • links: TournamentLinks
  • lng: Float
  • mapsPlaceId: String
  • # The tournament name
  • name: String
  • # Number of attendees including spectators, if public
  • numAttendees: Int
  • # The user who created the tournament
  • owner: User
  • # Paginated, queryable list of participants
  • #
  • # Arguments
  • # query: [Not documented]
  • # isAdmin: [Not documented]
  • participants(query: ParticipantPaginationQuery!, isAdmin: Boolean): ParticipantConnection
  • postalCode: String
  • primaryContact: String
  • primaryContactType: String
  • # Publishing settings for this tournament
  • publishing: JSON
  • # When does registration for the tournament end
  • registrationClosesAt: Timestamp
  • rules: String
  • # The short slug used to form the url
  • shortSlug: String
  • # The slug used to form the url
  • slug: String
  • # When the tournament Starts
  • startAt: Timestamp
  • # State of the tournament, can be ActivityState::CREATED, ActivityState::ACTIVE,
  • # or ActivityState::COMPLETED
  • state: Int
  • # Arguments
  • # page: [Not documented]
  • # perPage: [Not documented]
  • stations(page: Int, perPage: Int): StationsConnection
  • streamQueue: [StreamQueue]
  • streams: [Streams]
  • # When is the team creation deadline
  • teamCreationClosesAt: Timestamp
  • # Paginated, queryable list of teams
  • #
  • # Arguments
  • # query: [Not documented]
  • teams(query: TeamPaginationQuery!): TeamConnection
  • # The timezone of the tournament
  • timezone: String
  • # The type of tournament from TournamentType
  • tournamentType: Int
  • # When the tournament was last modified (unix timestamp)
  • updatedAt: Timestamp
  • # Build Tournament URL
  • #
  • # Arguments
  • # tab: Tournament tab to add to URL
  • # relative: Generate a relative URL. Defaults to true. Setting to
  • # false will generate an absolute URL
  • url(tab: String, relative: Boolean): String
  • venueAddress: String
  • venueName: String
  • # List of all waves in this tournament
  • waves: [Wave]
  • }