Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

add 'pagination': { 'next': <url> } to List requests in MongoRest #8

Open
philfreo opened this issue Sep 5, 2012 · 2 comments
Open

Comments

@philfreo
Copy link
Member

philfreo commented Sep 5, 2012

No description provided.

@xogeny
Copy link

xogeny commented Mar 4, 2013

I think HAL (or any of the many JSON hypermedia formats out there, like Siren) would be a good way to "standardize" this kind of thing. Even better (and I'm working on this in #27) would be to be able to response to requests in all of those formats automatically. In other words, write code so that if the client wants HAL, they add an "Accept: application/hal+json" to their request, and they get HAL. But they could also ask for Siren, Collection+JSON, hm-JSON, etc and they'd get their response in those formats. I think you could support all of these formats "out fo the box".

@philfreo
Copy link
Member Author

philfreo commented Jun 4, 2013

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

No branches or pull requests

2 participants