summaryrefslogtreecommitdiff
path: root/doc/api/group_milestones.md
diff options
context:
space:
mode:
authorFrank Pavageau <frank.pavageau@gmail.com>2017-08-03 08:35:41 +0200
committerFrank Pavageau <fpavageau@ekino.com>2017-08-07 22:43:41 +0200
commite3393dbec85477e743bf49d727ba71e3a70beb34 (patch)
tree41806c90dcaa8916627257c1e7bca7511d5a079b /doc/api/group_milestones.md
parent5f30350c5b2482f72e221cce33ebd66919fcd6b4 (diff)
downloadgitlab-ce-e3393dbec85477e743bf49d727ba71e3a70beb34.tar.gz
Fix the iids parameters in the API documentation
Since the parameter name is really `iids[]`, it should be used consistently across the documentation.
Diffstat (limited to 'doc/api/group_milestones.md')
-rw-r--r--doc/api/group_milestones.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/group_milestones.md b/doc/api/group_milestones.md
index 086fba7e91d..dbfc7529125 100644
--- a/doc/api/group_milestones.md
+++ b/doc/api/group_milestones.md
@@ -6,7 +6,7 @@ Returns a list of group milestones.
```
GET /groups/:id/milestones
-GET /groups/:id/milestones?iids=42
+GET /groups/:id/milestones?iids[]=42
GET /groups/:id/milestones?iids[]=42&iids[]=43
GET /groups/:id/milestones?state=active
GET /groups/:id/milestones?state=closed
@@ -18,7 +18,7 @@ Parameters:
| Attribute | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `id` | integer/string | yes | The ID or [URL-encoded path of the group](README.md#namespaced-path-encoding) owned by the authenticated user |
-| `iids` | Array[integer] | optional | Return only the milestones having the given `iids` |
+| `iids[]` | Array[integer] | optional | Return only the milestones having the given `iid` |
| `state` | string | optional | Return only `active` or `closed` milestones` |
| `search` | string | optional | Return only milestones with a title or description matching the provided string |