summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-11-22 13:27:35 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2016-11-22 13:43:53 +0100
commit22d16ccdb59b1604fd71ce5c8469ee7217bed693 (patch)
tree481887d7efa06114190d5f7c100214c88d9db82f /doc
parentcb11d3521ce99a5ce796e2fdf9e6d96a3e36791d (diff)
downloadgitlab-ce-22d16ccdb59b1604fd71ce5c8469ee7217bed693.tar.gz
Document both valid cases for API iid filterfix-api-iid-filter
Diffstat (limited to 'doc')
-rw-r--r--doc/api/merge_requests.md3
-rw-r--r--doc/api/milestones.md3
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 66d91732cc6..4cc385e36fe 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -10,7 +10,8 @@ The pagination parameters `page` and `per_page` can be used to restrict the list
GET /projects/:id/merge_requests
GET /projects/:id/merge_requests?state=opened
GET /projects/:id/merge_requests?state=all
-GET /projects/:id/merge_requests?iid[]=42
+GET /projects/:id/merge_requests?iid=42
+GET /projects/:id/merge_requests?iid[]=42&iid[]=43
```
Parameters:
diff --git a/doc/api/milestones.md b/doc/api/milestones.md
index ad80d7c4c01..28e4b3105a6 100644
--- a/doc/api/milestones.md
+++ b/doc/api/milestones.md
@@ -6,7 +6,8 @@ Returns a list of project milestones.
```
GET /projects/:id/milestones
-GET /projects/:id/milestones?iid[]=42
+GET /projects/:id/milestones?iid=42
+GET /projects/:id/milestones?iid[]=42&iid[]=43
GET /projects/:id/milestones?state=active
GET /projects/:id/milestones?state=closed
```