Commit 2a2ce716 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
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 9b84ca4d
...@@ -6,6 +6,7 @@ v 8.10.2 (unreleased) ...@@ -6,6 +6,7 @@ v 8.10.2 (unreleased)
- Fix backup restore. !5459 - Fix backup restore. !5459
- Use project ID in repository cache to prevent stale data from persisting across projects. !5460 - Use project ID in repository cache to prevent stale data from persisting across projects. !5460
- Fix issue with autocomplete search not working with enter key. !5466 - Fix issue with autocomplete search not working with enter key. !5466
- Add iid to MR API response. !5468
- Don't show comment button in gutter of diffs on MR discussion tab - Don't show comment button in gutter of diffs on MR discussion tab
v 8.10.1 v 8.10.1
......
...@@ -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