Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/discussions.md')
-rw-r--r--doc/api/discussions.md15
1 files changed, 10 insertions, 5 deletions
diff --git a/doc/api/discussions.md b/doc/api/discussions.md
index 5f750df4a48..c30c00cef67 100644
--- a/doc/api/discussions.md
+++ b/doc/api/discussions.md
@@ -11,13 +11,14 @@ Discussions are a set of related notes on:
- Snippets
- Issues
-- Epics **(ULTIMATE)**
+- [Epics](../user/group/epics/index.md)
- Merge requests
- Commits
-This includes system notes, which are notes about changes to the object (for example,
-when a milestone changes, a corresponding system note is added). Label notes are
-not part of this API, but recorded as separate events in [resource label events](resource_label_events.md).
+This includes [comments and threads](../user/discussions/index.md) and system notes.
+System notes are notes about changes to the object (for example, when a milestone changes).
+Label notes are not part of this API, but recorded as separate events in
+[resource label events](resource_label_events.md).
## Discussions pagination
@@ -993,7 +994,11 @@ curl --request POST --header "PRIVATE-TOKEN: [ACCESS_TOKEN]"\
### Resolve a merge request thread
-Resolve/unresolve whole thread of a merge request.
+Resolve or unresolve a thread of discussion in a merge request.
+
+Prerequisite:
+
+- You must have at least the Developer role, or be the author of the change being reviewed.
```plaintext
PUT /projects/:id/merge_requests/:merge_request_iid/discussions/:discussion_id