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

getBranches pagination not works for Gitlab API not supported on getBranches #374

Open
trytrysee opened this issue Jun 1, 2020 · 0 comments

Comments

@trytrysee
Copy link

my gitlab version:8.3.2
un-limit loop get branches for getBranches()
root reasean: gitlab api GET /projects/:id/repository/branches does not support pagination pre_page & page parameteres
suggest solution:
no links from head response, get all directly instaed of iterating get

BTW
our java-gitlab-api get next not use link header which is suggested by gitlab api, refer to https://docs.gitlab.com/ee/api/README.html#pagination-link-header

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