Commit 515de8d1 authored by Greg Messner's avatar Greg Messner
Browse files

Added info on PipelineApi.

parent a5350fb1
...@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment