ssbu_lokrez/lokrez/queries/getTournamentTopBySlug.gql

61 lines
1.3 KiB
Plaintext
Raw Normal View History

query getTournamentTopBySlug($slug:String,$top:Int)
{
tournament(slug:$slug)
{
id
name
events
{
name
videogame
{
id
name
}
standings(
query:
{
perPage: $top
page: 1
}
)
{
pageInfo
{
total
}
nodes
{
placement
entrant
{
participants
{
gamerTag
prefix
player
{
id
}
}
seeds
{
phase
{
name
numSeeds
}
groupSeedNum
}
}
}
}
}
}
}