Pagination

Pagination metadata for the current page of results.

Properties

PropertyTypeDescription
page integer (int32) Required The current page number, starting at 1.
results_per_page integer (int32) Required The number of results shown on each page.
total_results integer (int64) Required How many results matched in total, across all pages.
page_count integer (int32) Required The total number of pages. This is 1 when no results match.
first_result integer (int64), or null Required The 1-based position of the first result on this page, or null when no results match.
last_result integer (int64), or null Required The 1-based position of the last result on this page, or null when no results match.
previous_page integer (int32), or null Required The number of the previous page, or null on the first page.
next_page integer (int32), or null Required The number of the next page, or null on the last page.
page_buttons list of PageButton Required The pagination buttons to display: the first and last pages, the pages near the current page, and a gap entry for each skipped range.

Used inside

All documentation