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 in Get Issues command #37

Open
erichexter opened this issue Oct 15, 2016 · 0 comments
Open

Support Pagination in Get Issues command #37

erichexter opened this issue Oct 15, 2016 · 0 comments

Comments

@erichexter
Copy link

It looks like the issues code does not support pagination, which means by default the api will only return 30 items. https://github.com/Iristyle/Posh-GitHub/blob/master/Posh-Github.psm1#L170

The github api does provide the links header so that its clear when you need to call for more data.
https://developer.github.com/guides/traversing-with-pagination/ https://developer.github.com/v3/#pagination

Is this something you would like the commands to support? If so I would be willing to contribute some work, at least on the issues command. I am not sure what other commands would need pagination, but issues are typically the one thing that grows pretty big over time, if your looking at closed issues.

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