File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
222222  ;  ; [ NamespaceApi] ( #namespaceapi ) <br />
223223  ;  ; [ NotesApi] ( #notesapi ) <br />
224224  ;  ; [ NotificationSettingsApi] ( #notificationsettingsapi ) <br />
225+   ;  ; [ PackagesApi] ( #packagesapi ) <br />
225226  ;  ; [ PipelineApi] ( #pipelineapi ) <br />
226227  ;  ; [ ProjectApi] ( #projectapi ) <br />
227228  ;  ; [ ProtectedBranchesApi] ( #protectedbranchesapi ) <br />
@@ -340,12 +341,19 @@ List<Namespace> namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar"
340341// Get a list of the issues's notes for project ID 1234, issue IID 1
341342List<Note > notes = gitLabApi. getNotesApi(). getNotes(1234 , 1 );
342343```
344+
343345#### NotificationSettingsApi
344346``` java
345347// Get the current global notification settings
346348NotificationSettings settings = gitLabApi. getNotificationSettingsApi(). getGlobalNotificationSettings();
347349```
348350
351+ #### PackagesApi
352+ ``` java
353+ // Get all packages for the specified project ID
354+ List<Packages > packages = gitLabApi. getPackagesApi(). getPackages(1234 );
355+ ```
356+
349357#### PipelineApi
350358``` java
351359// Get all pipelines for the specified project ID
You can’t perform that action at this time.
0 commit comments