Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
28ac8d01
Commit
28ac8d01
authored
Jan 20, 2019
by
Greg Messner
Browse files
Added WikisApi to list of APIs (#290).
parent
576cffa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
28ac8d01
...
...
@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```
java
dependencies
{
...
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.9
.
1
2
'
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.9
.
1
4
'
}
```
...
...
@@ -22,7 +22,7 @@ dependencies {
<dependency>
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<version>
4.9.1
2
</version>
<version>
4.9.1
4
</version>
</dependency>
```
...
...
@@ -225,6 +225,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
[
SnippetsApi
](
#snippetsapi
)
<br/>
[
SystemHooksApi
](
#systemhooksapi
)
<br/>
[
UserApi
](
#userapi
)
[
WikisApi
](
#wikisapi
)
### Sub API Examples
...
...
@@ -421,3 +422,9 @@ String password = null;
boolean
sendResetPasswordEmail
=
true
;
gitLabApi
.
getUserApi
().
createUser
(
userConfig
,
password
,
sendResetPasswordEmail
);
```
#### WikisApi
```
java
// Get a list of pages in project wiki
List
<
WikiPage
>
wikiPages
=
gitLabApi
.
getWikisApi
().
getPages
();
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment