Skip to content
Snippets Groups Projects

Merge Request Discussions API: accept commit_id to create discussion on commit

4 files
+ 33
0
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 1
0
@@ -827,7+827,7 @@
```
### Create new merge request thread
Creates a new thread to a single project merge request. This is similar to creating
a note but other comments (replies) can be added to it later.
@@ -842,7+842,7 @@
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) |
| `merge_request_iid` | integer | yes | The IID of a merge request |
| `body` | string | yes | The content of the thread |
| `commit_id` | string | no | SHA referencing commit to start this thread on. |
| `created_at` | string | no | Date time string, ISO 8601 formatted, e.g. 2016-03-11T03:45:40Z (requires admin or project/group owner rights) |
| `position` | hash | no | Position when creating a diff note |
| `position[base_sha]` | string | yes | Base commit SHA in the source branch |
Loading