Jameshwart Lopez
07/20/2023, 1:17 AMJason Bosco
07/20/2023, 3:17 AMper_page
search parameter, and every page should have that many number of hits, except for the last page which might have less than thatJason Bosco
07/20/2023, 3:17 AMpage
and per_page
for the same query?Jameshwart Lopez
07/20/2023, 3:18 AMJameshwart Lopez
07/20/2023, 3:19 AMJason Bosco
07/20/2023, 3:20 AMfound
in the response. If do divide found / per_page
you’ll get the total number of pagesJason Bosco
07/20/2023, 3:21 AMfound MODULO per_page
you’ll get the number of results on the last pageJameshwart Lopez
07/20/2023, 3:21 AMJason Bosco
07/20/2023, 3:21 AMJason Bosco
07/20/2023, 3:22 AMper_page
between pages?Jameshwart Lopez
07/20/2023, 3:24 AMJameshwart Lopez
07/20/2023, 3:25 AMKishore Nallan
07/20/2023, 4:14 AMpage
and per_page
you can use offset
and limit
(like SQL) and this offers flexible pagination.