summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-11 08:01:10 -0700
committerStan Hu <stanhu@gmail.com>2017-07-11 08:02:13 -0700
commitfaf9543827450fcdeb463c8461ef4d483b03f84e (patch)
tree8b6ca9e35877196c45c7e8bb2514bcc8221d4329 /doc
parente17ac5705dd84ede3ae079051adcb66200457338 (diff)
downloadgitlab-ce-faf9543827450fcdeb463c8461ef4d483b03f84e.tar.gz
Use view=simple for simplifying merge requests API
Diffstat (limited to 'doc')
-rw-r--r--doc/api/merge_requests.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index fc68e1ee0cf..c90d95e4dd0 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -25,7 +25,7 @@ Parameters:
| `order_by`| string | no | Return requests ordered by `created_at` or `updated_at` fields. Default is `created_at` |
| `sort` | string | no | Return requests sorted in `asc` or `desc` order. Default is `desc` |
| `milestone` | string | no | Return merge requests for a specific milestone |
-| `simple` | boolean | no | Returns the `iid`, URL, title, description, and basic state of merge request |
+| `view` | string | no | If `simple`, returns the `iid`, URL, title, description, and basic state of merge request |
| `labels` | string | no | Return merge requests matching a comma separated list of labels |
| `created_after` | datetime | no | Return merge requests created after the given time (inclusive) |
| `created_before` | datetime | no | Return merge requests created before the given time (inclusive) |