diff options
author | 6543 <6543@obermui.de> | 2021-06-16 19:04:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-16 18:04:37 +0100 |
commit | 92736010646d4a5cfd3430c6f57bbf4cbd8951da (patch) | |
tree | 03eae57ccfc12e27fd513cc1af39e965f801a708 /templates | |
parent | f4d3bf7867ac48d348f2c17637ca1229466c83bd (diff) | |
download | gitea-92736010646d4a5cfd3430c6f57bbf4cbd8951da.tar.gz gitea-92736010646d4a5cfd3430c6f57bbf4cbd8951da.zip |
Add subject-type filter to list notification API endpoints (#16177)
Close #15886
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index e3ac4a4c8a..8ad9ae5a43 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -646,6 +646,22 @@ "in": "query" }, { + "type": "array", + "items": { + "enum": [ + "issue", + "pull", + "commit", + "repository" + ], + "type": "string" + }, + "collectionFormat": "multi", + "description": "filter notifications by subject type", + "name": "subject-type", + "in": "query" + }, + { "type": "string", "format": "date-time", "description": "Only show notifications updated after the given time. This is a timestamp in RFC 3339 format", @@ -6806,6 +6822,22 @@ "in": "query" }, { + "type": "array", + "items": { + "enum": [ + "issue", + "pull", + "commit", + "repository" + ], + "type": "string" + }, + "collectionFormat": "multi", + "description": "filter notifications by subject type", + "name": "subject-type", + "in": "query" + }, + { "type": "string", "format": "date-time", "description": "Only show notifications updated after the given time. This is a timestamp in RFC 3339 format", |