Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
259dcad6
Unverified
Commit
259dcad6
authored
Mar 13, 2018
by
Greg Messner
Committed by
GitHub
Mar 13, 2018
Browse files
Updates for release 4.8.7
parent
ff284499
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
259dcad6
...
...
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```
java
dependencies
{
...
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.8
.
5
'
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.8
.
7
'
}
```
...
...
@@ -20,7 +20,7 @@ dependencies {
<dependency>
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<version>
4.8.
5
</version>
<version>
4.8.
7
</version>
</dependency>
```
...
...
@@ -209,7 +209,7 @@ List<Job> jobs = gitLabApi.getJobApi().getJobs(1234);
List
<
Label
>
labels
=
gitLabApi
.
getLabelsApi
().
getLabels
(
1234
);
```
### MergeRequestApi
###
#
MergeRequestApi
```
java
// Get a list of the merge requests for the specified project
List
<
MergeRequest
>
mergeRequests
=
gitLabApi
.
getMergeRequestApi
().
getMergeRequests
(
1234
);
...
...
@@ -283,7 +283,7 @@ RepositoryFile file = gitLabApi.getRepositoryFileApi().getFile("file-path", 1234
#### RunnersApi
```
java
// Get All Runners.
List
<
Runner
>
runners
=
a
pi
.
getRunnersApi
().
getAllRunners
();
List
<
Runner
>
runners
=
gitLabA
pi
.
getRunnersApi
().
getAllRunners
();
```
#### ServicesApi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment