Allow for /next/n to be inclusive
Closed this issue · 5 comments
lucasmo commented
We have a pattern where, given a hub uri, we want to get the next n
items inclusive of the given hub uri.
Something like:
/channel/foo/2017/11/17/00/00/00/000/abcdef/next/1000?inclusive=true&bulk=true
moulliet commented
@lucasmo are there any other endpoints where this is needed? What about earliest & latest?
zradick commented
I can see potentially doing the same for "previous" but not "earliest" or "latest" personally. I think we would be tolerant of N or N+1 items, though I would expect N based on the request.
lucasmo commented
I agree with what Zack said.
moulliet commented
Excellent.
We will add inclusive to next and previous, and we will return the number of items requested.