77 lines
1.7 KiB
GraphQL
77 lines
1.7 KiB
GraphQL
query getTournamentTopBySlug($slug:String,$top:Int)
|
|
{
|
|
tournament(slug:$slug)
|
|
{
|
|
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|