In this example we will get the sets in an event. Here I have selected the Slap City Singles event at Genesis 6.
Example #1 (All Sets in Event)
To get all sets, don't pass any filters to the sets query.
Instead, just iterate over the the pages as necessary.
You can use a much larger perPage
here- it is kept small in the example for demo purposes.
- Request
- Response
query EventSets($eventId: ID!, $page: Int!, $perPage: Int!) {event(id: $eventId) {idnamesets(page: $pageperPage: $perPagesortType: STANDARD) {pageInfo {total}nodes {idslots {identrant {idname}}}}}},{"eventId":261856,"page": 1,"perPage": 3}