-
Notifications
You must be signed in to change notification settings - Fork 668
Support for pagination? #53
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
Comments
Pagination is supported. you can use the --per-page and --page options:
|
No, that's not what I mean. I meant that a function 'all_projects' should list all projects (from page 1 to page n). Right now, the only way I've found to list all projects is:
Is this the only way? |
Sorry, I misunderstood your question. AFAIK the gitlab API doesn't provide a method to list all the projects without pagination, so a loop is probably the only way to get what you want. |
all_projects() returns only the first page of results.
The GitLab API documentation says to use the next/pref links in there, and that at most 100 results are returned per page.
Is pagination to obtain all results supported - otherwise, methods like 'all_projects' would be useless.
The text was updated successfully, but these errors were encountered: