Skip to main content

users_paginated

Returns a paginated list of users. See PaginationInterface for details on how to use paginated lists, and UserFiltersInput for filters you can use here.

users_paginated(
filters: UserFiltersInput
page: Int
per_page: Int
sort: [SortInput!]
): UsersPagination!

Arguments

users_paginated.filters ● UserFiltersInput input

Filters to restrict what items will appear in the result set.

users_paginated.page ● Int scalar

The page number to return from the result set. Page numbers start with 1.

users_paginated.per_page ● Int scalar

The number of items to return per page. Defaults to 20, can go up to 200.

users_paginated.sort ● [SortInput!] list input

A set of fields to use for ordering the result set. The second field is used as a tiebreaker for the first, the third field is used as a tiebreaker for the first two, and so on. If the sort argument is missing or empty, the order of items will be left up to the database (and may be unpredictable).

Type

UsersPagination object