Pagination

Where this page is among all the results.

Properties

PropertyTypeDescription
page integer (int32) Required The number of this page, counting from 1.
results_per_page integer (int32) Required How many results each page holds.
total_results integer (int64) Required How many results matched in total, across all pages.
page_count integer (int32) Required How many pages there are. This is 1 when nothing matched.
first_result integer (int64), or null Required The position of the page's first result, from 1; null when nothing matched.
last_result integer (int64), or null Required The position of the page's last result; null when nothing matched.
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 buttons to draw: the first and last page, the pages near this one, and a gap for each run skipped.

Used inside

All documentation