Attendees by Sponsor/Org

In this example, we will query for the attendees of a tournament with a particular sponsor tag. In this case, we've chosen Genesis 5 as the tournament and Cloud 9 as the sponsor/org.

Example

  • Request
  • Response
query PrefixSearchAttendees($tourneySlug:String!, $sponsor: String!) {
tournament(slug: $tourneySlug) {
id
name
participants(query: {
filter: {
search: {
fieldsToSearch: ["prefix"],
searchString: $sponsor
}
}
}) {
nodes {
id
gamerTag
}
}
}
},
{
"tourneySlug": "genesis-5",
"sponsor": "c9"
}