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
031fdeb8
Commit
031fdeb8
authored
Feb 22, 2018
by
Greg Messner
Browse files
Added info on the NotificationSettingsApi (#143).
parent
0e6a72a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
031fdeb8
...
...
@@ -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.8
.
3
'
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.8
.
4
'
}
```
...
...
@@ -20,7 +20,7 @@ dependencies {
<dependency>
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<version>
4.8.
3
</version>
<version>
4.8.
4
</version>
</dependency>
```
...
...
@@ -146,6 +146,7 @@ The API has been broken up into sub APIs classes to make it easier to learn and
[
MilestonesApi
](
#milestonesapi
)
<br/>
[
NamespaceApi
](
#namespaceapi
)
<br/>
[
NotesApi
](
#notesapi
)
<br/>
[
NotificationSettingsApi
](
#notificationsettingsapi
)
<br/>
[
PipelineApi
](
#pipelineapi
)
<br/>
[
ProjectApi
](
#projectapi
)
<br/>
[
RepositoryApi
](
#repositoryapi
)
<br/>
...
...
@@ -227,7 +228,12 @@ List<Namespace> namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar"
#### NotesApi
```
java
// Get a list of the issues's notes for project ID 1234, issue IID 1
List
<
Note
>
notes
=
getNotes
(
1234
,
1
);
List
<
Note
>
notes
=
gitLabApi
.
getNotesApi
().
getNotes
(
1234
,
1
);
```
#### NotificationSettingsApi
```
java
// Get the current global notification settings
NotificationSettings
settings
=
gitLabApi
.
getNotificationSettingsApi
().
getGlobalNotificationSettings
();
```
#### PipelineApi
...
...
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