PaginationInput Input
Description
Input fields for specifying pagination parameters including page number, limit, and sorting options.
Declaration
input PaginationInput {
page: Int
limit: Int
sort: String
order: Int
}
Fields
| Name | Type | Description |
|---|---|---|
page | Int | The requested page number. Defaults to 1 if not specified. |
limit | Int | Number of items per page. You can request a specific page size, and it will be used if it does not exceed the server-enforced maximum. If your requested size exceeds the maximum, the server will enforce the maximum limit. |
sort | String | Field name to sort results by. |
order | Int | Sort order: 1 for ascending, -1 for descending. |