ssbu_lokrez/lokrez/queries/getTournamentTopBySlug.gql

76 lines
1.7 KiB
Plaintext
Raw Normal View History

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