summaryrefslogtreecommitdiff
path: root/doc/api/milestones.md
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2016-11-22 08:23:43 +0100
committerRobert Schilling <rschilling@student.tugraz.at>2016-11-22 08:25:07 +0100
commitcb11d3521ce99a5ce796e2fdf9e6d96a3e36791d (patch)
tree71f5ae5f9cf1f283b865d1240c5c50a7e05787ad /doc/api/milestones.md
parent35d6ea4f5ee7605a7f4e4c44cc4b79a40aec9418 (diff)
downloadgitlab-ce-cb11d3521ce99a5ce796e2fdf9e6d96a3e36791d.tar.gz
Fix IID filter for merge requests and milestones
Diffstat (limited to 'doc/api/milestones.md')
-rw-r--r--doc/api/milestones.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md
index ae7d22a4be5..ad80d7c4c01 100644
--- a/doc/api/milestones.md
+++ b/doc/api/milestones.md
@@ -6,7 +6,7 @@ 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?state=active
GET /projects/:id/milestones?state=closed
```
@@ -16,7 +16,7 @@ Parameters:
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer | yes | The ID of a project |
-| `iid` | integer | optional | Return only the milestone having the given `iid` |
+| `iid` | Array[integer] | optional | Return only the milestone having the given `iid` |
| `state` | string | optional | Return only `active` or `closed` milestones` |
```bash