Skip to content

Commit 4a7bb82

Browse files
authored
Added info for the DiscussionsApi.
1 parent 6880708 commit 4a7bb82

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ The API has been broken up into sub APIs classes to make it easier to learn and
182182
&nbsp;&nbsp;[AwardEmojiApi](#awardemojiapi)<br/>
183183
&nbsp;&nbsp;[CommitsApi](#commitsapi)<br/>
184184
&nbsp;&nbsp;[DeployKeysApi](#deploykeysapi)<br/>
185+
&nbsp;&nbsp;[DiscussionsApi](#discussionsapi)<br/>
185186
&nbsp;&nbsp;[EpicsApi](#epicsapi)<br/>
186187
&nbsp;&nbsp;[EventsApi](#eventsapi)<br/>
187188
&nbsp;&nbsp;[GroupApi](#groupapi)<br/>
@@ -231,6 +232,12 @@ List<Commit> commits = gitLabApi.getCommitsApi().getCommits(1234, "new-feature",
231232
List<DeployKey> deployKeys = gitLabApi.getDeployKeysApi().getDeployKeys();
232233
```
233234

235+
#### DiscussionsApi
236+
```java
237+
// Get a list of Discussions for the specified merge request
238+
List<DeployKey> deployKeys = gitLabApi.getDiscussionsApi().getMergeRequestDiscussions(projectId, mergeRequestIid);
239+
```
240+
234241
#### EpicsApi
235242
```java
236243
// Get a list epics of the requested group and its subgroups.

0 commit comments

Comments
 (0)