summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2023-02-25 03:55:50 +0100
committerGitHub <noreply@github.com>2023-02-24 21:55:50 -0500
commit10cdcb9ea8077098921d72720f9f36fcfd950452 (patch)
treee966411cf1bbc62bf7059deaa9238c14c0a9a04d /templates/swagger
parent843f81113ebe71fd725210c5a382268333865cc7 (diff)
downloadgitea-10cdcb9ea8077098921d72720f9f36fcfd950452.tar.gz
gitea-10cdcb9ea8077098921d72720f9f36fcfd950452.zip
Add "Reviewed by you" filter for pull requests (#22927)
This includes pull requests that you approved, requested changes or commented on. Currently such pull requests are not visible in any of the filters on /pulls, while they may need further action like merging, or prodding the author or reviewers. Especially when working with a large team on a repository it's helpful to get a full overview of pull requests that may need your attention, without having to sift through the complete list.
Diffstat (limited to 'templates/swagger')
-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 de774deaed..0605937599 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -2367,6 +2367,12 @@
"in": "query"
},
{
+ "type": "boolean",
+ "description": "filter pulls reviewed by you, default is false",
+ "name": "reviewed",
+ "in": "query"
+ },
+ {
"type": "string",
"description": "filter by owner",
"name": "owner",