RE: Call for consensus for the pagination design (ISSUE-42)

On 21 Okt 2015 at 11:40, elf Pavlik wrote:
> Besides example of some n > 1 page, I would like to propose including in
> the spec example of response from:
> 
> GET /an-issue/comments
> 
> which includes view "@id": "/an-issue/comments?page=1"
> 
> and note that client may expect *exactly the same response* from:
> 
> GET /an-issue/comments?page=1

Yep, we can mention that in the spec.


> We could also mention that this only applies to 'default paging', in
> case of using some alternative paging mechanism. Response from:

By "default paging" you mean resources with a page=XX query parameter? 


> GET /an-issue/comments
> 
> may include some other kind of view on that particular collection. For
> example chat messages posted to this collection (ChatChannel) today with
> prev control to show them day by day. Similar to what we can see on
> 
> http://socialwg.indiewebcamp.com/irc/social/2015-10-20

Sure. That's conceptually the same though I'd say. But perhaps I didn't
fully understood what you meant.
 

Cheers,
Markus


--
Markus Lanthaler
@markuslanthaler

Received on Monday, 26 October 2015 18:45:44 UTC