ssbu_lokrez/lokrez/queries/getTournamentTopById.gql

61 lines
1.3 KiB
GraphQL

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