Closed dquick-freelance closed 12 years ago
I think it's always older, since the order is always descending (earlier later in response). I think it basically queries for an extra row that is not returned, but if the row is present more is true.
Ok, I'll buy that for a dollar. I'll close the issue and move along. Thanks for the clarification! :)
While integrating the response_envelope migration into one of my apps, I've come to realize that response.meta.more is ambiguous for requests made without specifying a before_id or since_id.
For instance, calling GET https://alpha-api.app.net/stream/0/posts/stream/global?count=200 will return the 200 newest posts, a min_id and max_id, and more=true. Does that mean that there are newer ones than I requested, or older?
Logically, I know that there are both (probably, since I can't guarantee that there's a new post by the time I receive and process the response, but it's likely, and more likely by the day). But programmatically, there's no way to easily differentiate which "end" of the feed has more objects fitting the criteria based on the response envelope.
Would it make sense to migrate the more flag to two separate flags or counts? For example:
Would that make more sense, or am I just being dumb about something?