diff --git a/README.md b/README.md index 9a5f9324398755aaa72512ee4ff80dfc2d911040..d0f91bdd1e52b20da2047009343e102aff74c2dc 100644 --- a/README.md +++ b/README.md @@ -222,6 +222,7 @@ The API has been broken up into sub API classes to make it easier to learn and t   [NamespaceApi](#namespaceapi)
  [NotesApi](#notesapi)
  [NotificationSettingsApi](#notificationsettingsapi)
+  [PackagesApi](#packagesapi)
  [PipelineApi](#pipelineapi)
  [ProjectApi](#projectapi)
  [ProtectedBranchesApi](#protectedbranchesapi)
@@ -340,12 +341,19 @@ List namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar" // Get a list of the issues's notes for project ID 1234, issue IID 1 List notes = gitLabApi.getNotesApi().getNotes(1234, 1); ``` + #### NotificationSettingsApi ```java // Get the current global notification settings NotificationSettings settings = gitLabApi.getNotificationSettingsApi().getGlobalNotificationSettings(); ``` +#### PackagesApi +```java +// Get all packages for the specified project ID +List packages = gitLabApi.getPackagesApi().getPackages(1234); +``` + #### PipelineApi ```java // Get all pipelines for the specified project ID