java-gitlab-api icon indicating copy to clipboard operation
java-gitlab-api copied to clipboard

getBranches pagination not works for Gitlab API not supported on getBranches

Open trytrysee opened this issue 5 years ago • 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

trytrysee avatar Jun 01 '20 03:06 trytrysee