Unverified Commit 77cd763f authored by Greg Messner's avatar Greg Messner Committed by GitHub
Browse files

Added info on PackagesApi.

parent 1e06a3ff
...@@ -222,6 +222,7 @@ The API has been broken up into sub API classes to make it easier to learn and t ...@@ -222,6 +222,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
&nbsp;&nbsp;[NamespaceApi](#namespaceapi)<br/> &nbsp;&nbsp;[NamespaceApi](#namespaceapi)<br/>
&nbsp;&nbsp;[NotesApi](#notesapi)<br/> &nbsp;&nbsp;[NotesApi](#notesapi)<br/>
&nbsp;&nbsp;[NotificationSettingsApi](#notificationsettingsapi)<br/> &nbsp;&nbsp;[NotificationSettingsApi](#notificationsettingsapi)<br/>
&nbsp;&nbsp;[PackagesApi](#packagesapi)<br/>
&nbsp;&nbsp;[PipelineApi](#pipelineapi)<br/> &nbsp;&nbsp;[PipelineApi](#pipelineapi)<br/>
&nbsp;&nbsp;[ProjectApi](#projectapi)<br/> &nbsp;&nbsp;[ProjectApi](#projectapi)<br/>
&nbsp;&nbsp;[ProtectedBranchesApi](#protectedbranchesapi) <br/> &nbsp;&nbsp;[ProtectedBranchesApi](#protectedbranchesapi) <br/>
...@@ -340,12 +341,19 @@ List<Namespace> namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar" ...@@ -340,12 +341,19 @@ List<Namespace> namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar"
// Get a list of the issues's notes for project ID 1234, issue IID 1 // Get a list of the issues's notes for project ID 1234, issue IID 1
List<Note> notes = gitLabApi.getNotesApi().getNotes(1234, 1); List<Note> notes = gitLabApi.getNotesApi().getNotes(1234, 1);
``` ```
#### NotificationSettingsApi #### NotificationSettingsApi
```java ```java
// Get the current global notification settings // Get the current global notification settings
NotificationSettings settings = gitLabApi.getNotificationSettingsApi().getGlobalNotificationSettings(); NotificationSettings settings = gitLabApi.getNotificationSettingsApi().getGlobalNotificationSettings();
``` ```
#### PackagesApi
```java
// Get all packages for the specified project ID
List<Packages> packages = gitLabApi.getPackagesApi().getPackages(1234);
```
#### PipelineApi #### PipelineApi
```java ```java
// Get all pipelines for the specified project ID // Get all pipelines for the specified project ID
......
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