Magidoc

permissionGroups
Query

List of permission groups.

Arguments

#

after

Return the elements in the list that come after the specified cursor.

before

Return the elements in the list that come before the specified cursor.

filter

Filtering options for permission groups.

first

Return the first n elements from the list.

last

Return the last n elements from the list.

sortBy

Sort permission groups.

Response

#

Returns GroupCountableConnection !.

Example

#

    query (
  $filter: PermissionGroupFilterInput
  $sortBy: PermissionGroupSortingInput
  $before: String
  $after: String
  $first: Int
  $last: Int
) {
  permissionGroups(
    filter: $filter
    sortBy: $sortBy
    before: $before
    after: $after
    first: $first
    last: $last
  ) {
    pageInfo {
      hasNextPage
      hasPreviousPage
      startCursor
      endCursor
    }
    edges {
      cursor
    }
    totalCount
  }
}

  

3