News for hackers. Stuff that matters.
Re:Paginating Requests in APIs (2020) by hombre_fatal on Saturday May 28, 2022 @03:06PM (#31542820)
You send `GET /items[?cursor=<cursor>]` to my server.

I respond:

    [
        "items": [ {...}, {...}, {...}, ... ],
        "next_cursor": "77963b7a"
    ]
How do you request "this cursor + 5 pages"?
Re:Paginating Requests in APIs (2020) by amelius on Saturday May 28, 2022 @03:24PM (#31542958)
GET /items?cursor=77963b7a&add_to_cursor=5pages