diff options
author | Norwin <noerw@users.noreply.github.com> | 2020-12-22 03:47:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-22 04:47:17 +0100 |
commit | c2ae432489a9e644d83069e2e3bae20b2f1f06eb (patch) | |
tree | 7174f27a4ea359c2afa42f12a07b81c557bba00f /templates/swagger/v1_json.tmpl | |
parent | 6f1dddf5c38e86d8cd89c19f13a924a83a99dea5 (diff) | |
download | gitea-c2ae432489a9e644d83069e2e3bae20b2f1f06eb.tar.gz gitea-c2ae432489a9e644d83069e2e3bae20b2f1f06eb.zip |
Add user filter to issueTrackedTimes, enable usage for issue managers (#14081)
* add user filter to issueTrackedTimes
fixes #14024
* update swagger
* allow user filter for issue writers
* improve swagger doc
* return 404 on invalid user
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index bb3b6b4fed..d0303040c5 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -5842,6 +5842,12 @@ }, { "type": "string", + "description": "optional filter by user (available for issue managers)", + "name": "user", + "in": "query" + }, + { + "type": "string", "format": "date-time", "description": "Only show times updated after the given time. This is a timestamp in RFC 3339 format", "name": "since", @@ -8811,7 +8817,7 @@ }, { "type": "string", - "description": "optional filter by user", + "description": "optional filter by user (available for issue managers)", "name": "user", "in": "query" }, |