Commit 540ed813 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'api-mr-doc' into 'master'

Add iid to MR API response

## What does this MR do?

Adds `iid` parameter to the MR API docs. 

## Why was this MR needed?

It is missing.

## What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/19578

## Does this MR meet the acceptance criteria?

- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)


See merge request !5468
parents 8ce5b4f1 af4a74cb
...@@ -276,6 +276,7 @@ Parameters: ...@@ -276,6 +276,7 @@ Parameters:
```json ```json
{ {
"id": 1, "id": 1,
"iid": 1,
"target_branch": "master", "target_branch": "master",
"source_branch": "test1", "source_branch": "test1",
"project_id": 3, "project_id": 3,
...@@ -350,6 +351,7 @@ Parameters: ...@@ -350,6 +351,7 @@ Parameters:
```json ```json
{ {
"id": 1, "id": 1,
"iid": 1,
"target_branch": "master", "target_branch": "master",
"project_id": 3, "project_id": 3,
"title": "test1", "title": "test1",
...@@ -449,6 +451,7 @@ Parameters: ...@@ -449,6 +451,7 @@ Parameters:
```json ```json
{ {
"id": 1, "id": 1,
"iid": 1,
"target_branch": "master", "target_branch": "master",
"source_branch": "test1", "source_branch": "test1",
"project_id": 3, "project_id": 3,
...@@ -517,6 +520,7 @@ Parameters: ...@@ -517,6 +520,7 @@ Parameters:
```json ```json
{ {
"id": 1, "id": 1,
"iid": 1,
"target_branch": "master", "target_branch": "master",
"source_branch": "test1", "source_branch": "test1",
"project_id": 3, "project_id": 3,
......
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