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