From 611d593047c4e5be4222cac854c8729104ea6206 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 22 2015 09:56:45 +0000 Subject: Expand the documentation of api_view_issues to include the different filtering options --- diff --git a/pagure/api/issue.py b/pagure/api/issue.py index 2cca2f7..e55f6b1 100644 --- a/pagure/api/issue.py +++ b/pagure/api/issue.py @@ -141,6 +141,17 @@ def api_view_issues(repo, username=None): Accepts GET queries only. + :kwarg status: The status of the issues to return, default to 'Open' + :kwarg tags: One or more tags to filter the issues returned. + If you want to wish to filter for issues not having a specific tag + you can mark the tag with an exclamation mark in front of it, for + example to get all the issues not tagged as ``easyfix`` you can + filter using the tag ``!easyfix`` + :kwarg assignee: Filters the issues returned by the user they are + assigned to + :kwarg author: Filters the issues returned by the user that opened the + issue + Sample response: ::