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

GitLab4J API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories via the GitLab REST API

Results 215 gitlab4j-api issues
Sort by recently updated
recently updated
newest added

[This line](https://github.com/gitlab4j/gitlab4j-api/blob/main/src/main/java/org/gitlab4j/api/ProjectApi.java#L1344) makes it impossible to remove the last topic from a project. Imo, if i do not want to make changes to that property, i should provide null, not...

ProjectFilter projectFilter = new ProjectFilter(); projectFilter.withIdAfter(allProjects.stream().mapToInt(Project::getId).max().orElse(0)); List projects = gitLabApi().getProjectApi().getProjects(projectFilter); withIdAfter search is not work , projects return all .

The ProjectAPI.addHook() method misses the functionality of adding a note-hook using this method. I tried to create a pull request for this - but unfortunately, I do not have write-permissions...

GitLab 16.9 introduced an option to create repositories with SHA256 instead of SHA1. This commit exposes object format used by particular repository via Project API. See https://gitlab.com/gitlab-org/gitlab/-/issues/419887

Can I delete all files in the specified directory through a commit action? such as: CommitAction commitAction = new CommitAction(); commitAction.setAction(CommitAction.Action.DELETE); commitAction.setFilePath("app/src/main/res/test/**");

question

I may have overlooked it, but it looks like the endpoint `https://gitlab.com/users/:username/exists` is not implemented? Example: https://gitlab.com/users/example/exists Which returns: ```json { "exists":true } ``` If it is indeed not available...

globalSearch currently returns a wildcard which always requires a cast afterwards, even though the return type is [known for each SearchScope](https://github.com/gitlab4j/gitlab4j-api/blob/e8a261a57b87ef5a9eeb44247177443c12f6c09e/src/main/java/org/gitlab4j/api/SearchApi.java#L71). ``` List projects = gitLabApi.getSearchApi().globalSearch(SearchScope.PROJECTS, "text-to-search-for"); ``` Ideally we...

``` long projectId = 6; String branch = "dev"; String readmePath = "README.md"; String appVuePath = "src/App.vue"; System.out.println(gitLabApi.getRepositoryFileApi().getFile(projectId, readmePath, branch, true)); System.out.println(gitLabApi.getRepositoryFileApi().getFile(projectId, appVuePath, branch, true)); ``` It can return the...

question

add description for webhook

https://docs.gitlab.com/ee/api/project_templates.html