Re: Pagination (ISSUE-42)

Hi Markus,

On 02/02/2015 11:48 PM, Markus Lanthaler wrote:
>
> Another design I have been tinkering with was to rename PagedCollection to
> something like PartialCollection and *perhaps* move the pagination controls
> into a separate resource or blank node:
>
>    {
>      "@id": "http://api.example.com/an-issue/comments?page=3",
>      "@type": "PartialCollection",
>      "pagination": {
>        "firstPage": "/an-issue/comments",
>        "previousPage": "/an-issue/comments?page=2",
>        "nextPage": "/an-issue/comments?page=4",
>        "lastPage": "/an-issue/comments?page=498"
>      },
>      "member": [ ...]
>    }
>
>
>

Correkt me if I'm wrong, the `PartialCollection`  type should address 
the problem Ruben discovered
by having exactly the semantics of a single page.
What I don't get is the benefit of introducing a bnode for the
pagination controls. Can you please explain that?

Thanks

Received on Tuesday, 3 February 2015 05:36:46 UTC