diff options
author | Sean McGivern <sean@gitlab.com> | 2019-05-06 11:59:02 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-05-06 19:48:32 +0100 |
commit | 00af4c6d6a8ea2997f57d6e872992b9fc72839d8 (patch) | |
tree | bab3f5402cb060788713c62040a483fa0cfddda1 /doc/api/discussions.md | |
parent | 0a7c9660e61ad7af24fd3cb93097bf283e5c9b34 (diff) | |
download | gitlab-ce-00af4c6d6a8ea2997f57d6e872992b9fc72839d8.tar.gz |
Allow replying to an individual note in the APIallow-replying-to-individual-notes-from-api
If you can do this in the UI, you should be able to do it in the API. If
a discussion is not a single note discussion, or it is replyable, you
can reply to it.
Diffstat (limited to 'doc/api/discussions.md')
-rw-r--r-- | doc/api/discussions.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/discussions.md b/doc/api/discussions.md index 67bbd4cc1ac..07a6201b10b 100644 --- a/doc/api/discussions.md +++ b/doc/api/discussions.md @@ -153,7 +153,8 @@ curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab ### Add note to existing issue discussion -Adds a new note to the discussion. +Adds a new note to the discussion. This can also +[create a discussion from a single comment](../user/discussions/#start-a-discussion-by-replying-to-a-standard-comment). ``` POST /projects/:id/issues/:issue_iid/discussions/:discussion_id/notes @@ -652,7 +653,8 @@ curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab. ### Add note to existing merge request discussion -Adds a new note to the discussion. +Adds a new note to the discussion. This can also +[create a discussion from a single comment](../user/discussions/#start-a-discussion-by-replying-to-a-standard-comment). ``` POST /projects/:id/merge_requests/:merge_request_iid/discussions/:discussion_id/notes |