Skip to content

Commit cdf53b7

Browse files
authored
Updated for 4.7.0
1 parent cf7164e commit cdf53b7

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111
```java
1212
dependencies {
1313
...
14-
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.6.9'
14+
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.7.0'
1515
}
1616
```
1717

@@ -20,7 +20,7 @@ dependencies {
2020
<dependency>
2121
<groupId>org.gitlab4j</groupId>
2222
<artifactId>gitlab4j-api</artifactId>
23-
<version>4.6.9</version>
23+
<version>4.7.0</version>
2424
</dependency>
2525
```
2626

@@ -101,7 +101,9 @@ Available Sub APIs
101101
&nbsp;&nbsp;[GroupApi](#groupapi)<br/>
102102
&nbsp;&nbsp;[IssuesApi](#issuesapi)<br/>
103103
&nbsp;&nbsp;[JobApi](#jobapi)<br/>
104+
&nbsp;&nbsp;[LabelsApi](#labelsapi)<br/>
104105
&nbsp;&nbsp;[MergeRequestApi](#mergerequestapi)<br/>
106+
&nbsp;&nbsp;[MilestonesApi](#milestonesapi)<br/>
105107
&nbsp;&nbsp;[NamespaceApi](#namespaceapi)<br/>
106108
&nbsp;&nbsp;[NotesApi](#notesapi)<br/>
107109
&nbsp;&nbsp;[PipelineApi](#pipelineapi)<br/>
@@ -157,11 +159,23 @@ List<Issue> issues = gitLabApi.getIssuesApi().getIssues(1234);
157159
List<Job> jobs = gitLabApi.getJobApi().getJobs(1234);
158160
```
159161

162+
### LabelsApi
163+
```java
164+
// Get a list of labels for the specified project ID
165+
List<Label> labels = gitLabApi.getLabelsApi().getLabels(1234);
166+
```
167+
160168
### MergeRequestApi
161169
```java
162170
// Get a list of the merge requests for the specified project
163171
List<MergeRequest> mergeRequests = gitLabApi.getMergeRequestApi().getMergeRequests(1234);
164172
```
173+
174+
### MilestonesApi
175+
```java
176+
// Get a list of the milestones for the specified project
177+
List<Milestone> milestones = gitLabApi.getMilestonesApi().getMilestones(1234);
178+
```
165179

166180
### NamespaceApi
167181
```java

0 commit comments

Comments
 (0)