3 ms·
you can paginate however you want. The default is the return 10. You can return an amount 1-100 and use the offset parameter to get the next X results.
by bavidar 13y ago
you can paginate however you want. The default is the return 10. You can return an amount 1-100 and use the offset parameter to get the next X results.
- 7Figures2Commas 13y agoMaybe I'm missing something, but how can I display pagination of my own choosing if I can't calculate the total number of pages that exist? More importantly, let's say that I am retrieving the default 10 results per request. Let's say there are 15 results. If I request the second "page", what will the next_url value in the response be? In other words, how can you provide an accurate next_url in your responses if you're not calculating the total number of results? At some point, aren't you providing a next_url that will return 0 results?