Skip to main content

Pageable

pageNumberint64

The number of the page. It starts at 0;

Example: 0
sizeint64
The number of elements to return. It is used to paginate the result. It is the number of elements we want to get from the offset.
Example: 10
sort object
The sort to apply on the result. It is used to sort the result. It is a map of fields to sort and the direction of the sort.
fieldOrder object
Sort order for the fields.
property name*string
Pageable
{
"pageNumber": 0,
"size": 10,
"sort": {
"fieldOrder": {
"name": "asc",
"age": "desc"
}
}
}