gitlab4j-api icon indicating copy to clipboard operation
gitlab4j-api copied to clipboard

badge api

Open ramarro123 opened this issue 1 year ago • 1 comments

Hi,

i think that badge api in getProject()... get badges should be paginated if a project have more than 20 badges it fail, adding this

                return new Pager(this, Badge.class, 20, null, "projects", this.getProjectIdOrPath(k), "badges");

will work and return all badges

ramarro123 avatar Nov 08 '24 10:11 ramarro123

Indeed if the endpoint is paginated, we need to adjust the client lib. Feel free to provide a pull request, I am happy to have a look.

jmini avatar Nov 18 '24 09:11 jmini