@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111``` java
1212dependencies {
1313 ...
14- compile group: ' org.gitlab4j' , name: ' gitlab4j-api' , version: ' 4.8.18 '
14+ compile group: ' org.gitlab4j' , name: ' gitlab4j-api' , version: ' 4.8.19 '
1515}
1616```
1717
@@ -20,7 +20,7 @@ dependencies {
2020<dependency >
2121 <groupId >org.gitlab4j</groupId >
2222 <artifactId >gitlab4j-api</artifactId >
23- <version >4.8.18 </version >
23+ <version >4.8.19 </version >
2424</dependency >
2525```
2626
@@ -156,6 +156,7 @@ The API has been broken up into sub APIs classes to make it easier to learn and
156156  ;  ; [ RunnersApi] ( #runnersapi ) <br />
157157  ;  ; [ ServicesApi] ( #servicesapi ) <br />
158158  ;  ; [ SessionApi] ( #sessionapi ) <br />
159+   ;  ; [ SnippetsApi] ( #snippetsapi ) <br />
159160  ;  ; [ SystemHooksApi] ( #systemhooksapi ) <br />
160161  ;  ; [ UserApi] ( #userapi )
161162
@@ -310,6 +311,12 @@ gitLabApi.getServicesApi().updateSlackService("project-path", slackService);
310311gitLabApi. getSessionApi(). login(" your-username" , " your-email" , " your-password" );
311312```
312313
314+ #### SnippetsApi
315+ ``` java
316+ // Get a list of the authenticated user's snippets
317+ List<Snippet > snippets = gitLabApi. getSnippetsApi(). getSnippets();
318+ ```
319+
313320#### SystemHooksApi
314321``` java
315322// Get a list of installed system hooks
0 commit comments