per_page - How many items will be on the page. page - Page to view. sort_by - Field to sort by. sort_direction - Sort direction (“asc”, “desc”).
created_at
field in ascending order. If there are more than 5 elements, there will be several pages and we can switch them using page.
The page count starts at 1. The response will also return information about pagination and the data to which pagination was applied in the “result” key. Example:
total_pages
(Index out of range), the result will be empty.Also, if you don’t pass the pagination object to the body, there will be no pagination information in the response
either.