Alokai

Pagination

Pagination model including all necessary information for pagination.

interface Pagination {
	count?: number;
	current_page?: number;
	links?: PaginationLinks;
	per_page?: number;
	total_pages?: number;
	total?: number;
}

Properties

NameRequiredTypeDescription
countOptionalnumberTotal number of items in the collection response.
current_pageOptionalnumberThe page you are currently on within the collection.
linksOptionalPaginationLinksPagination links for the previous and next parts of the whole collection.
per_pageOptionalnumberThe amount of items returned in the collection per page, controlled by the limit parameter.
total_pagesOptionalnumberThe total number of pages in the collection.
totalOptionalnumberTotal number of items in the result set.

Referenced Types

On this page