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

/sites/site_id/files endpoint does not respect pagination #257

Open
styxlab opened this issue Sep 22, 2020 · 0 comments
Open

/sites/site_id/files endpoint does not respect pagination #257

styxlab opened this issue Sep 22, 2020 · 0 comments

Comments

@styxlab
Copy link

styxlab commented Sep 22, 2020

According to the documentation, requests that return multiple items are paginated and should return pagination info on the response header. However, when querying endpoint

/sites/site_id/files?page=1&per_page=10

I always get all items returned and the link header is absent. In contrast

/sites?page=1&per_page=10

works as expected and a link header is returned. As the files endpoint may return huge lists, pagination is really needed. I hope this can be fixed.

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

1 participant