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
77cd763f
Unverified
Commit
77cd763f
authored
6 years ago
by
Greg Messner
Committed by
GitHub
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Added info on PackagesApi.
parent
1e06a3ff
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
+8
-0
README.md
with
8 additions
and
0 deletions
+8
-0
README.md
+
8
-
0
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
...
...
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