Re: Pagination - let's finalize the collection design (ISSUE-42)

Isn't there already a vocab for this:
http://www.w3.org/1999/xhtml/vocab
 
Defines first, next, prev, last...
 
Why reinvent the wheel?
 
John
 

> On October 12, 2015 at 4:21 PM Ruben Verborgh <ruben.verborgh@ugent.be> wrote:
>
>
> Hi Markus,
>
> > "view": {
> > "@id": "/an-issue/comments?page=3",
> > "@type": "PartialCollectionView",
> > "first": "/an-issue/comments",
> > "previous": "/an-issue/comments?page=2",
> > "next": "/an-issue/comments?page=4",
> > "last": "/an-issue/comments?page=498",
> > }
>
> On second thoughts:
> what is the exact semantics of "next" and "previous"?
> Is it a functional property?
>
> Related: is the "view" resource the same
> in pages 2 and 3 or a resource, or does each page have its own view?
>
> Best,
>
> Ruben
>

Received on Monday, 12 October 2015 15:44:53 UTC