You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/org/gitlab4j/api/NotesApi.java
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -131,6 +131,8 @@ public Stream<Note> getIssueNotesStream(Object projectIdOrPath, Long issueIid) t
131
131
/**
132
132
* Get the specified issues's note.
133
133
*
134
+
* <pre><code>GitLab Endpoint: GET /projects/:id/issues/:issue_iid/notes/:note_id</code></pre>
135
+
*
134
136
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
135
137
* @param issueIid the issue IID to get the notes for
136
138
* @param noteId the ID of the Note to get
@@ -145,6 +147,9 @@ public Note getIssueNote(Object projectIdOrPath, Long issueIid, Long noteId) thr
145
147
146
148
/**
147
149
* Create a issues's note.
150
+
*
151
+
* <pre><code>GitLab Endpoint: POST /projects/:id/issues/:issue_iid/notes/:note_id</code></pre>
152
+
*
148
153
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance @param projectIdOrPath the project ID to create the issues for
149
154
* @param issueIid the issue IID to create the notes for
150
155
* @param body the content of note
@@ -158,6 +163,8 @@ public Note createIssueNote(Object projectIdOrPath, Long issueIid, String body)
158
163
/**
159
164
* Create a issues's note.
160
165
*
166
+
* <pre><code>GitLab Endpoint: POST /projects/:id/issues/:issue_iid/notes/:note_id</code></pre>
167
+
*
161
168
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
162
169
* @param issueIid the issue IID to create the notes for
163
170
* @param body the content of note
@@ -171,6 +178,8 @@ public Note createIssueNote(Object projectIdOrPath, Long issueIid, String body,
171
178
/**
172
179
* Create a issues's note.
173
180
*
181
+
* <pre><code>GitLab Endpoint: POST /projects/:id/issues/:issue_iid/notes/:note_id</code></pre>
182
+
*
174
183
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
175
184
* @param issueIid the issue IID to create the notes for
176
185
* @param body the content of note
@@ -194,6 +203,8 @@ public Note createIssueNote(Object projectIdOrPath, Long issueIid, String body,
194
203
/**
195
204
* Update the specified issues's note.
196
205
*
206
+
* <pre><code>GitLab Endpoint: PUT /projects/:id/issues/:issue_iid/notes/:note_id</code></pre>
207
+
*
197
208
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance
198
209
* @param issueIid the issue IID to update the notes for
199
210
* @param noteId the ID of the node to update
@@ -212,6 +223,8 @@ public Note updateIssueNote(Object projectIdOrPath, Long issueIid, Long noteId,
0 commit comments