- From: Karol Szczepański via GitHub <sysbot+gh@w3.org>
- Date: Wed, 13 Feb 2019 20:48:17 +0000
- To: public-hydra-logs@w3.org
> I don't see how either is more "generic" than the other. As I wrote, you can express pageIndex/itemsPerPage with offset/limit, but not the opposite (limit can change on each request). > What's more, in my experience pageIndex/itemsPerPage approach is more common in API design. For desktop views, your right. But for mobiles, not really. In streaming-line approach you'd favor skip/take as usually there is only `more` button, so the only thing to do us to add previous `take` and `skip` values and you've got another `skip` for next request (you would even omit `take` part and leave it for server to decide). -- GitHub Notification of comment by alien-mcl Please view or discuss this issue at https://github.com/HydraCG/Specifications/pull/184#issuecomment-463363514 using your GitHub account
Received on Wednesday, 13 February 2019 20:48:19 UTC