Commit 28ac8d01 authored by Greg Messner's avatar Greg Messner
Browse files

Added WikisApi to list of APIs (#290).

parent 576cffa3
...@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep ...@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```java ```java
dependencies { dependencies {
... ...
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.9.12' compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.9.14'
} }
``` ```
...@@ -22,7 +22,7 @@ dependencies { ...@@ -22,7 +22,7 @@ dependencies {
<dependency> <dependency>
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<version>4.9.12</version> <version>4.9.14</version>
</dependency> </dependency>
``` ```
...@@ -225,6 +225,7 @@ The API has been broken up into sub API classes to make it easier to learn and t ...@@ -225,6 +225,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
&nbsp;&nbsp;[SnippetsApi](#snippetsapi)<br/> &nbsp;&nbsp;[SnippetsApi](#snippetsapi)<br/>
&nbsp;&nbsp;[SystemHooksApi](#systemhooksapi)<br/> &nbsp;&nbsp;[SystemHooksApi](#systemhooksapi)<br/>
&nbsp;&nbsp;[UserApi](#userapi) &nbsp;&nbsp;[UserApi](#userapi)
&nbsp;&nbsp;[WikisApi](#wikisapi)
### Sub API Examples ### Sub API Examples
...@@ -421,3 +422,9 @@ String password = null; ...@@ -421,3 +422,9 @@ String password = null;
boolean sendResetPasswordEmail = true; boolean sendResetPasswordEmail = true;
gitLabApi.getUserApi().createUser(userConfig, password, sendResetPasswordEmail); gitLabApi.getUserApi().createUser(userConfig, password, sendResetPasswordEmail);
``` ```
#### WikisApi
```java
// Get a list of pages in project wiki
List<WikiPage> wikiPages = gitLabApi.getWikisApi().getPages();
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment