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
diff options
context:
space:
mode:
authorFabio Busatto <fabio@gitlab.com>2019-03-27 12:01:07 +0300
committerSean McGivern <sean@gitlab.com>2019-03-27 12:01:07 +0300
commit035c8af12e4ea6dbba18255214bad2a53c1b1cf1 (patch)
treefc20eba28a847b6a7d65886dc864450198a75a77 /doc/api/milestones.md
parent978aa04f30185b5a4adaa5e26d4a9674a8d37811 (diff)
Resolve "Get milestone by title via API"
Diffstat (limited to 'doc/api/milestones.md')
-rw-r--r--doc/api/milestones.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/milestones.md b/doc/api/milestones.md
index 897184d51af..3b76c19dc07 100644
--- a/doc/api/milestones.md
+++ b/doc/api/milestones.md
@@ -10,6 +10,7 @@ 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?title=1.0
GET /projects/:id/milestones?search=version
```
@@ -20,6 +21,7 @@ Parameters:
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
| `iids[]` | Array[integer] | optional | Return only the milestones having the given `iid` |
| `state` | string | optional | Return only `active` or `closed` milestones |
+| `title` | string | optional | Return only the milestones having the given `title` |
| `search` | string | optional | Return only milestones with a title or description matching the provided string |
```bash