ssbu_lokrez/lokrez/queries/getCharsByTournamentIdAndEn...

46 lines
1002 B
GraphQL

query getCharsByTournamentIdAndEntrantIds($tournamentId:ID, $entrantIds:[ID])
{
tournament(id:$tournamentId)
{
events
{
name
slug
numEntrants
sets
(
perPage:100
page:1
filters:
{
entrantIds: $entrantIds
}
)
{
pageInfo
{
total
}
nodes
{
games
{
winnerId
selections
{
selectionType
selectionValue
entrant
{
id
}
}
}
}
}
}
}
}