ssbu_lokrez/lokrez/queries/getTournamentTopById.gql

76 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-07-07 10:13:23 -04:00
query getTournamentTopBySlug($id:ID,$top:Int)
{
tournament(id:$id)
{
2020-07-07 10:13:23 -04:00
id
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
}
}
}
}
}
}
}