timols/java-gitlab-api

getBranches pagination not works for Gitlab API not supported on getBranches

trytrysee opened this issue · 0 comments

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