Skip to content

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

Description

@trytrysee

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions