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
515de8d1
Commit
515de8d1
authored
Jun 09, 2017
by
Greg Messner
Browse files
Added info on PipelineApi.
parent
a5350fb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
515de8d1
...
@@ -54,6 +54,7 @@ CommitsApi
...
@@ -54,6 +54,7 @@ CommitsApi
GroupApi
GroupApi
MergeRequestApi
MergeRequestApi
NamespaceApi
NamespaceApi
PipelineApi
ProjectApi
ProjectApi
RepositoryApi
RepositoryApi
RepositoryFileApi
RepositoryFileApi
...
@@ -77,13 +78,19 @@ List<Group> groups = gitLabApi.getGroupApi().getGroups();
...
@@ -77,13 +78,19 @@ List<Group> groups = gitLabApi.getGroupApi().getGroups();
MergeRequestApi:
MergeRequestApi:
```
java
```
java
// Get a list of the merge requests for the specified project
// Get a list of the merge requests for the specified project
List
<
MergeRequest
>
mergeRequests
=
gitLabApi
.
getMergeRequestApi
().
getMergeRequests
(
1234
);
List
<
MergeRequest
>
mergeRequests
=
gitLabApi
.
getMergeRequestApi
().
getMergeRequests
(
1234
);
```
```
NamespaceApi:
NamespaceApi:
```
java
```
java
// Get all namespaces that match "foobar" in their name or path
// Get all namespaces that match "foobar" in their name or path
List
<
Namespace
>
namespaces
=
gitLabApi
.
getNamespaceApi
().
findNamespaces
(
"foobar"
);
List
<
Namespace
>
namespaces
=
gitLabApi
.
getNamespaceApi
().
findNamespaces
(
"foobar"
);
```
PipelineApi:
```
java
// Get all pipelines for the specified project ID
List
<
Pipeline
>
pipelines
=
gitLabApi
.
getPipelineApi
().
getPipelines
(
1234
);
```
```
ProjectApi:
ProjectApi:
...
...
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