From 6dc7c9fcf46545c759ad64145d0e5a3e26e83f3f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 13 2019 17:20:29 +0000 Subject: Document in the API that projects can be filtered by !owner The feature was added in fd7136712a4abf4c72e9304298410c46e515300d but was not documented in the API doc. This commit fixes that. Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/api/project.py b/pagure/api/project.py index e947a30..d82f9e7 100644 --- a/pagure/api/project.py +++ b/pagure/api/project.py @@ -344,7 +344,12 @@ def api_projects(): | | | | to it | +---------------+----------+---------------+--------------------------+ | ``owner`` | string | Optional | | Filters the projects | - | | | | by ownership | + | | | | by ownership. | + | | | | If the argument is of | + | | | | the form then | + | | | | the project returned | + | | | | are the ones *not* | + | | | | owned by this user. | +---------------+----------+---------------+--------------------------+ | ``namespace`` | string | Optional | | Filters the projects | | | | | by namespace |