Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-07-11 00:58:23 +0300
committerStan Hu <stanhu@gmail.com>2017-07-11 16:32:13 +0300
commite17ac5705dd84ede3ae079051adcb66200457338 (patch)
treea7b0000d3dab6c48499bb963e6ec5cfdfeb6e049 /doc/api
parent01dabbd5c94b494a1833c4e0395032cc81f85dce (diff)
Add a simple mode to merge request API
The current "basic" merge request API still loads too much data. For integrations like the Trello Power-up, we just need the basics. Closes #34920
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/merge_requests.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 3dc808c196d..fc68e1ee0cf 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -25,6 +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 |
| `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) |