Skip to content

feat: Add Pull mirror API (#1227) #1271

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jony-Jas
Copy link
Contributor

Closes #1227

Created PullMirror model and get methods to support the PullMirror API endpoint

  • List getPullMirrors(final Object projectIdOrPath)
  • Pager getPullMirrors(final Object projectIdOrPath, 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, a small addition is needed

Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please add a JSON example (often I take the one from the documentation) in gitlab4j-models/src/test/resources/org/gitlab4j/models/ and a test case in TestGitLabApiBeans?

If you need more information feel free to continue this discussion.

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.

Feature: add "Pull mirror API"
2 participants