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

GET should not return all the documents it contains #23

Open
roshiro opened this issue Oct 21, 2016 · 0 comments
Open

GET should not return all the documents it contains #23

roshiro opened this issue Oct 21, 2016 · 0 comments

Comments

@roshiro
Copy link
Owner

roshiro commented Oct 21, 2016

An alternative would be to return:

{
  "total": "158",
  "pages": "4",
  "page": 1,
  "items": [{...}]
}

So the API should take page query string.

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

No branches or pull requests

1 participant