Re: [Specifications] Define client-initiated pagination (#184)

My proposal is:
- add `hydra:offset` (replacement for `hydra:skip` introduced here) with range of `xsd:nonNegativeInteger`
- add `hydra:limit` (replacement for `hydra:take` introduced here) with range of `xsd:nonNegativeInteger`
- add `hydra:pageIndex` with range of `xsd:nonNegativeInteger`
- add `hydra:pageReference` with range unspecified for future detailed specification (custom indices)

This way we'll cover 99% of paging use cases (pageIndex/limit fits not too bad, offset/limit fits well) and we're still enabled for future custom usages including GUID or letter indices. The latter will require some more concept i.e. variable constraints, allowed literals/individuals, etc.

-- 
GitHub Notification of comment by alien-mcl
Please view or discuss this issue at https://github.com/HydraCG/Specifications/pull/184#issuecomment-464865740 using your GitHub account

Received on Monday, 18 February 2019 20:24:10 UTC