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

Support pagination #36

Open
durnin opened this issue Nov 24, 2018 · 0 comments
Open

Support pagination #36

durnin opened this issue Nov 24, 2018 · 0 comments

Comments

@durnin
Copy link

durnin commented Nov 24, 2018

Some results for github's API are returned paginated (i.e. when more than 30 results in a public repo: https://developer.github.com/v3/guides/traversing-with-pagination/#basics-of-pagination). The pagination links are returned in a header like this:

Status: 200 OK
Link: <https://api.github.com/resource?page=2>; rel="next",
      <https://api.github.com/resource?page=5>; rel="last"

A nice to have would be that this is completely transparent and all results are returned.
An easier solution would be to give access to this Link headers to the user so that he can send the requests himself.

[Update] This is an improvement to # #24

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