Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Hydra vocab for paging info #19

Open
nicholascar opened this issue Nov 22, 2019 · 2 comments
Open

Use Hydra vocab for paging info #19

nicholascar opened this issue Nov 22, 2019 · 2 comments

Comments

@nicholascar
Copy link
Member

See https://www.hydra-cg.com/spec/latest/core/ & http://www.hydra-cg.com/.

Must decide on Linked Data Platform norms v. current setup v. Hydra for paging etc.

@nicholascar nicholascar changed the title Use Hydro vocab for paging info Use Hydra vocab for paging info Nov 27, 2019
@pietercolpaert
Copy link

Another spec to consider: the collection design of TREE is designed to be compatible with both Hydra and LDP, and supports adding more semantics to what your pagination links mean (e.g., describe an ordering, or add more than just next, first, last, previous): https://w3id.org/tree/specification

@nicholascar
Copy link
Member Author

Thanks @pietercolpaert! The paging semantics here have, so far been pretty bad so I think this is a good suggestion to move to the robust hydra. The HTTP paving Link headers are standard, so we can keep those.

I’ll try to fold in hydra soon: we are working on a major update to this API now which adds support for Python’s new FastAPI, not just Flask, so we can probably do all this in the same move.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants