Skip to content

Add pagination support for project badges #1270

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

Merged
merged 1 commit into from
Aug 20, 2025

Conversation

Jony-Jas
Copy link
Contributor

Closes #1192

This PR adds pagination support for the project badges endpoint by implementing:

  • New method getBadges(Object projectIdOrPath, int itemsPerPage)
  • New method getBadges(Object projectIdOrPath, String badgeName, int itemsPerPage)

Copy link
Collaborator

@jmini jmini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@jmini jmini merged commit f951568 into gitlab4j:main Aug 20, 2025
2 checks passed
@jmini
Copy link
Collaborator

jmini commented Aug 20, 2025

🎉 thank you for this contribution!

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

Successfully merging this pull request may close these issues.

badge api
2 participants