shlink/docs/swagger/definitions/Pagination.json
2018-06-17 18:29:40 +02:00

26 lines
766 B
JSON

{
"type": "object",
"properties": {
"currentPage": {
"type": "integer",
"description": "The number of current page."
},
"pagesCount": {
"type": "integer",
"description": "The total number of pages that can be obtained."
},
"itemsPerPage": {
"type": "integer",
"description": "The number of items for every page."
},
"itemsInCurrentPage": {
"type": "integer",
"description": "The number of items in current page (could be smaller than itemsPerPage)."
},
"totalItems": {
"type": "integer",
"description": "The total number of items among all pages."
}
}
}