In this example, we will query for upcoming tournaments filtered to particular owner (a user). Please note that this query will not retrieve all tournaments the user was an admin for. It will only return tournaments which that user created.
Example
- Request
- Response
query TournamentsByOwner($perPage: Int!, $ownerId: ID!) {tournaments(query: {perPage: $perPagefilter: {ownerId: $ownerId}}) {nodes {idnameslug}}},{"ownerId": 161429,"perPage": 4}