Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

query GroupRoleMembers($groupId: ID!, $roleId: ID!, $limit: Int, $skip: Int, $q: String) {
  group(id: $groupId) {
    id
    role(id: $roleId) {
      id
      name
      membersConnection(args: {limit: $limit, skip: $skip, query: $q}) {
        pageInfo {
          limit
          skip
          hasNextPage
          __typename
        }
        totalCount
        edges {
          node {
            id
            username
            firstName
            lastName
            email
            active
            label: displayName
            __typename
          }
          __typename
        }
        __typename
      }
      __typename
    }
    __typename
  }
}

And add this to the query variables section and adjust the limit

{
  "limit": 25,
  "skip": 0,
  "q": "",
  "groupId": "5db1faadd69b140016c790cd",
  "roleId": "members"
}

  • No labels