From b1ce952b405699e94bd53f142c5b7fa568dd620c Mon Sep 17 00:00:00 2001 From: Greg Messner Date: Thu, 6 Jun 2019 22:04:03 -0700 Subject: [PATCH] Added example for ContainerRegistryApi (#368). --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0acd37c2..124d3775 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de ```java dependencies { ... - compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.11.5' + compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.11.6' } ``` @@ -23,7 +23,7 @@ dependencies { org.gitlab4j gitlab4j-api - 4.11.5 + 4.11.6 ``` @@ -224,6 +224,7 @@ The following is a list of the available sub APIs along with a sample use of eac   [AwardEmojiApi](#awardemojiapi)
  [BoardsApi](#boardsapi)
  [CommitsApi](#commitsapi)
+  [ContainerRegistryApi](#containerregistryapi)
  [DeployKeysApi](#deploykeysapi)
  [DiscussionsApi](#discussionsapi)
  [EpicsApi](#epicsapi)
@@ -289,6 +290,12 @@ Date until = new Date(); // now List commits = gitLabApi.getCommitsApi().getCommits(1234, "new-feature", since, until); ``` +#### ContainerRegistryApi +```java +// Get a list of the registry repositories belonging to the specified project +List registryRepos = gitLabApi.ContainerRegistryApi().getRepositories(projectId); +``` + #### DeployKeysApi ```java // Get a list of DeployKeys for the authenticated user -- GitLab