diff options
author | jubianchi <julien.bianchi@pmsipilot.com> | 2014-08-14 12:41:16 +0200 |
---|---|---|
committer | jubianchi <contact@jubianchi.fr> | 2014-09-01 13:51:40 +0200 |
commit | 4fdd21685cbbac7fc23e17c531cf28eeecc98577 (patch) | |
tree | 72f3da1af61a5dfe5fb52ae17d8c5045e0023bbe /doc/api | |
parent | 31773f4dd7f89df7cea3ef4b3f547b479329ef9e (diff) | |
download | gitlab-ce-4fdd21685cbbac7fc23e17c531cf28eeecc98577.tar.gz |
Filters issues by state via API
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/issues.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md index a4b3b3e9918..c12d4528546 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -7,8 +7,14 @@ Get all issues created by authenticated user. This function takes pagination par ``` GET /issues +GET /issues?state=opened +GET /issues?state=closed ``` +Parameters: + +- `state` (optional) - Return `all` issues or just those that are `opened` or `closed` + ```json [ { @@ -80,11 +86,14 @@ to return the list of project issues. ``` GET /projects/:id/issues +GET /projects/:id/issues?state=opened +GET /projects/:id/issues?state=closed ``` Parameters: - `id` (required) - The ID of a project +- `state` (optional) - Return `all` issues or just those that are `opened` or `closed` ## Single issue |