diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-03-03 06:32:58 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-03-03 06:32:58 +0000 |
commit | b18646040c9b17c69ac66fb687b02450e161808c (patch) | |
tree | 99f752f00dff867cce7cb4c33c37c062310b1248 /doc | |
parent | edba43527612c6eb511299b2590b818e8d74f9c3 (diff) | |
parent | 17ee1e1a63520f88663697608920e816aa7128c4 (diff) | |
download | gitlab-ce-b18646040c9b17c69ac66fb687b02450e161808c.tar.gz |
Merge branch '27532_api_changes' into 'master'
Use iids as filter parameter
Closes #27532
See merge request !9096
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/milestones.md | 6 | ||||
-rw-r--r-- | doc/api/v3_to_v4.md | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md index 9439db84e9b..3c86357a6c3 100644 --- a/doc/api/milestones.md +++ b/doc/api/milestones.md @@ -6,8 +6,8 @@ Returns a list of project milestones. ``` GET /projects/:id/milestones -GET /projects/:id/milestones?iid=42 -GET /projects/:id/milestones?iid[]=42&iid[]=43 +GET /projects/:id/milestones?iids=42 +GET /projects/:id/milestones?iids[]=42&iids[]=43 GET /projects/:id/milestones?state=active GET /projects/:id/milestones?state=closed GET /projects/:id/milestones?search=version @@ -18,7 +18,7 @@ Parameters: | Attribute | Type | Required | Description | | --------- | ---- | -------- | ----------- | | `id` | integer | yes | The ID of a project | -| `iid` | Array[integer] | optional | Return only the milestone having the given `iid` | +| `iids` | Array[integer] | optional | Return only the milestones having the given `iids` | | `state` | string | optional | Return only `active` or `closed` milestones` | | `search` | string | optional | Return only milestones with a title or description matching the provided string | diff --git a/doc/api/v3_to_v4.md b/doc/api/v3_to_v4.md index 1b51b9200cd..cca58894476 100644 --- a/doc/api/v3_to_v4.md +++ b/doc/api/v3_to_v4.md @@ -52,3 +52,4 @@ changes are in V4: - Return HTTP status code `400` for all validation errors when creating or updating a member instead of sometimes `422` error. [!9523](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9523) - Remove `GET /groups/owned`. Use `GET /groups?owned=true` instead [!9505](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9505) - Return 202 with JSON body on async removals on V4 API (DELETE `/projects/:id/repository/merged_branches` and DELETE `/projects/:id`) [!9449](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9449) +- `projects/:id/milestones?iid[]=x&iid[]=y` array filter has been renamed to `iids` [!9096](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9096) |