diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2021-08-13 22:47:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 22:47:25 +0200 |
commit | a4962a944002c3d3949520949f964aae7ff478ed (patch) | |
tree | e9e82d3fd7e88092577610f067c4befbd1550162 /templates | |
parent | 3a6edd36851b266612f3d325bebc716fc60bfed5 (diff) | |
download | gitea-a4962a944002c3d3949520949f964aae7ff478ed.tar.gz gitea-a4962a944002c3d3949520949f964aae7ff478ed.zip |
Add filter by owner and team to issue/pulls search endpoint (#16662)
* Filter by owner and team in API issue/pulls search
* Add integration test
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index d23d09bcfd..ee759ba6b1 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1940,6 +1940,18 @@ "in": "query" }, { + "type": "string", + "description": "filter by owner", + "name": "owner", + "in": "query" + }, + { + "type": "string", + "description": "filter by team (requires organization owner parameter to be provided)", + "name": "team", + "in": "query" + }, + { "type": "integer", "description": "page number of results to return (1-based)", "name": "page", |