Pagination
Includes all the information needed to paginate a list of elements.
The sorting attribute enables fine-grain sorting to be carried out, instead of using the standard primary key.
Every element within sorting refines the sorting algorithm that results out of the previous elements.
Attributes | Type | Description | Optional | Default |
---|---|---|---|---|
currentPage | xs:int | The requested page. | Yes | 1 |
pageSize | xs:int | The page size. | Yes | 15 |
sorting | Sorting[ ] | How to sort the result. | Yes | Sort using the primary key, descending |