summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLoic Dachary <ldachary@redhat.com>2015-01-18 13:42:20 +0100
committerLoic Dachary <ldachary@redhat.com>2015-01-18 14:09:56 +0100
commit5bd463c1d2a10be21344e80084072927e0f2081e (patch)
tree40178ce715a16cea7936f9367f09f1c23508b93e /doc
parentd84a2ab641f7e69ff597954ad0fb3aa5fdffe1e4 (diff)
downloadgitlab-ce-5bd463c1d2a10be21344e80084072927e0f2081e.tar.gz
Add description to merge request
The description can be provided when creating or updating a merge request. Signed-off-by: Loic Dachary <loic@dachary.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/merge_requests.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 14884e53915..053fc9346be 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -109,6 +109,7 @@ Parameters:
- `target_branch` (required) - The target branch
- `assignee_id` (optional) - Assignee user ID
- `title` (required) - Title of MR
+- `description` (optional) - Description of MR
- `target_project_id` (optional) - The target project (numeric id)
```json
@@ -160,6 +161,7 @@ Parameters:
- `target_branch` - The target branch
- `assignee_id` - Assignee user ID
- `title` - Title of MR
+- `description` - Description of MR
- `state_event` - New state (close|reopen|merge)
```json
@@ -169,6 +171,7 @@ Parameters:
"source_branch": "test1",
"project_id": 3,
"title": "test1",
+ "description": "description1",
"state": "opened",
"upvotes": 0,
"downvotes": 0,