Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
6 years ago
by
Greg Messner
Browse files
Options
Download
Email Patches
Plain Diff
Added WikisApi to list of APIs (#290).
parent
576cffa3
main
5.0.x
5.0.x.jdk17
6.x
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+9
-2
README.md
with
9 additions
and
2 deletions
+9
-2
README.md
+
9
-
2
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
();
```
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets