Skip to main content

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.

AttributesTypeDescriptionOptionalDefault
currentPagexs:intThe requested page.Yes1
pageSizexs:intThe page size.Yes15
sortingSorting[ ]How to sort the result.YesSort using the primary key, descending