Event Entrants

In this request, we will query for the entrants in a given event. For my example, I'm using the Ultimate Singles event at Genesis 6. This is a paginated query- I chose a small perPage value for the sake of space.

Example

  • Request
  • Response
query EventEntrants($eventId: ID!, $page: Int!, $perPage: Int!) {
event(id: $eventId) {
id
name
entrants(query: {
page: $page
perPage: $perPage
}) {
pageInfo {
total
totalPages
}
nodes {
id
participants {
id
gamerTag
}
}
}
}
},
{
"eventId": 121970,
"page": 1,
"perPage": 2
}