From 0728588c3424fd7e75ca3c45ad1ea84063437311 Mon Sep 17 00:00:00 2001 From: Robert Schilling Date: Wed, 6 Apr 2016 13:03:07 +0200 Subject: API: Ability to filter milestones by state --- doc/api/milestones.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/api/milestones.md') diff --git a/doc/api/milestones.md b/doc/api/milestones.md index a6828728264..4d94d7f3e2c 100644 --- a/doc/api/milestones.md +++ b/doc/api/milestones.md @@ -7,6 +7,8 @@ Returns a list of project milestones. ``` GET /projects/:id/milestones GET /projects/:id/milestones?iid=42 +GET /projects/:id/milestones?state=active +GET /projects/:id/milestones?state=closed ``` ```json @@ -29,6 +31,7 @@ Parameters: - `id` (required) - The ID of a project - `iid` (optional) - Return the milestone having the given `iid` +- `state` (optional) - Return "active" or "closed" milestones ## Get single milestone -- cgit v1.2.1