I\'d love some some help handling a strange edge case with a paginated API I\'m building.
Like many APIs, this one paginates large results. If you query /foos, you\'
If you've got pagination you also sort the data by some key. Why not let API clients include the key of the last element of the previously returned collection in the URL and add a WHERE clause to your SQL query (or something equivalent, if you're not using SQL) so that it returns only those elements for which the key is greater than this value?