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
77cd763f
Unverified
Commit
77cd763f
authored
Apr 19, 2019
by
Greg Messner
Committed by
GitHub
Apr 19, 2019
Browse files
Added info on PackagesApi.
parent
1e06a3ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
77cd763f
...
@@ -222,6 +222,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
...
@@ -222,6 +222,7 @@ The API has been broken up into sub API classes to make it easier to learn and t
[
NamespaceApi
](
#namespaceapi
)
<br/>
[
NamespaceApi
](
#namespaceapi
)
<br/>
[
NotesApi
](
#notesapi
)
<br/>
[
NotesApi
](
#notesapi
)
<br/>
[
NotificationSettingsApi
](
#notificationsettingsapi
)
<br/>
[
NotificationSettingsApi
](
#notificationsettingsapi
)
<br/>
[
PackagesApi
](
#packagesapi
)
<br/>
[
PipelineApi
](
#pipelineapi
)
<br/>
[
PipelineApi
](
#pipelineapi
)
<br/>
[
ProjectApi
](
#projectapi
)
<br/>
[
ProjectApi
](
#projectapi
)
<br/>
[
ProtectedBranchesApi
](
#protectedbranchesapi
)
<br/>
[
ProtectedBranchesApi
](
#protectedbranchesapi
)
<br/>
...
@@ -340,12 +341,19 @@ List<Namespace> namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar"
...
@@ -340,12 +341,19 @@ List<Namespace> namespaces = gitLabApi.getNamespaceApi().findNamespaces("foobar"
// Get a list of the issues's notes for project ID 1234, issue IID 1
// Get a list of the issues's notes for project ID 1234, issue IID 1
List
<
Note
>
notes
=
gitLabApi
.
getNotesApi
().
getNotes
(
1234
,
1
);
List
<
Note
>
notes
=
gitLabApi
.
getNotesApi
().
getNotes
(
1234
,
1
);
```
```
#### NotificationSettingsApi
#### NotificationSettingsApi
```
java
```
java
// Get the current global notification settings
// Get the current global notification settings
NotificationSettings
settings
=
gitLabApi
.
getNotificationSettingsApi
().
getGlobalNotificationSettings
();
NotificationSettings
settings
=
gitLabApi
.
getNotificationSettingsApi
().
getGlobalNotificationSettings
();
```
```
#### PackagesApi
```
java
// Get all packages for the specified project ID
List
<
Packages
>
packages
=
gitLabApi
.
getPackagesApi
().
getPackages
(
1234
);
```
#### PipelineApi
#### PipelineApi
```
java
```
java
// Get all pipelines for the specified project ID
// Get all pipelines for the specified project ID
...
...
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