Skip to content

Commit 28ac8d0

Browse files
committed
Added WikisApi to list of APIs (#290).
1 parent 576cffa commit 28ac8d0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
1111
```java
1212
dependencies {
1313
...
14-
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.9.12'
14+
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.9.14'
1515
}
1616
```
1717

@@ -22,7 +22,7 @@ dependencies {
2222
<dependency>
2323
<groupId>org.gitlab4j</groupId>
2424
<artifactId>gitlab4j-api</artifactId>
25-
<version>4.9.12</version>
25+
<version>4.9.14</version>
2626
</dependency>
2727
```
2828

@@ -225,6 +225,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
225225
&nbsp;&nbsp;[SnippetsApi](#snippetsapi)<br/>
226226
&nbsp;&nbsp;[SystemHooksApi](#systemhooksapi)<br/>
227227
&nbsp;&nbsp;[UserApi](#userapi)
228+
&nbsp;&nbsp;[WikisApi](#wikisapi)
228229

229230

230231
### Sub API Examples
@@ -421,3 +422,9 @@ String password = null;
421422
boolean sendResetPasswordEmail = true;
422423
gitLabApi.getUserApi().createUser(userConfig, password, sendResetPasswordEmail);
423424
```
425+
426+
#### WikisApi
427+
```java
428+
// Get a list of pages in project wiki
429+
List<WikiPage> wikiPages = gitLabApi.getWikisApi().getPages();
430+
```

0 commit comments

Comments
 (0)