ssbu_lokrez/lokrez/queries/getTournamentTopById.gql

77 lines
1.7 KiB
GraphQL

query getTournamentTopBySlug($id:ID,$top:Int)
{
tournament(id:$id)
{
id
slug
name
startAt
venueAddress
venueName
city
countryCode
hashtag
events
{
name
slug
numEntrants
videogame
{
id
name
}
standings(
query:
{
perPage: $top
page: 1
}
)
{
pageInfo
{
total
}
nodes
{
placement
entrant
{
id
participants
{
gamerTag
prefix
player
{
user
{
authorizations(types: [TWITTER])
{
externalUsername
}
}
}
}
seeds
{
phase
{
name
numSeeds
}
groupSeedNum
}
}
}
}
}
}
}