Commit 15b3d467 authored by Robert Schilling's avatar Robert Schilling

Merge branch 'wip-documentation' into 'master'

Add description to merge request API documentation

See merge request !301
parents d84a2ab6 5bd463c1
No related merge requests found
...@@ -109,6 +109,7 @@ Parameters: ...@@ -109,6 +109,7 @@ Parameters:
- `target_branch` (required) - The target branch - `target_branch` (required) - The target branch
- `assignee_id` (optional) - Assignee user ID - `assignee_id` (optional) - Assignee user ID
- `title` (required) - Title of MR - `title` (required) - Title of MR
- `description` (optional) - Description of MR
- `target_project_id` (optional) - The target project (numeric id) - `target_project_id` (optional) - The target project (numeric id)
```json ```json
...@@ -160,6 +161,7 @@ Parameters: ...@@ -160,6 +161,7 @@ Parameters:
- `target_branch` - The target branch - `target_branch` - The target branch
- `assignee_id` - Assignee user ID - `assignee_id` - Assignee user ID
- `title` - Title of MR - `title` - Title of MR
- `description` - Description of MR
- `state_event` - New state (close|reopen|merge) - `state_event` - New state (close|reopen|merge)
```json ```json
...@@ -169,6 +171,7 @@ Parameters: ...@@ -169,6 +171,7 @@ Parameters:
"source_branch": "test1", "source_branch": "test1",
"project_id": 3, "project_id": 3,
"title": "test1", "title": "test1",
"description": "description1",
"state": "opened", "state": "opened",
"upvotes": 0, "upvotes": 0,
"downvotes": 0, "downvotes": 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment