aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2019-02-04 16:20:44 +0100
committertechknowlogick <matti@mdranta.net>2019-02-04 10:20:44 -0500
commit024871ade60c619302430a2852018dcbd1b35b79 (patch)
treed8a78311e8c40b063ef63424786bcbd2e00ef205 /templates
parentf21ae12abb2529ea6e8ab113706f11d848c74f65 (diff)
downloadgitea-024871ade60c619302430a2852018dcbd1b35b79.tar.gz
gitea-024871ade60c619302430a2852018dcbd1b35b79.zip
Add label names as filter in issue search api (#5946)
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 0ce6b805f7..bde496c7f1 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -2060,6 +2060,12 @@
"in": "query"
},
{
+ "type": "string",
+ "description": "comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded",
+ "name": "labels",
+ "in": "query"
+ },
+ {
"type": "integer",
"description": "page number of requested issues",
"name": "page",