mirror of
https://github.com/go-gitea/gitea.git
synced 2025-06-20 21:18:00 +02:00
Add subject-type filter to list notification API endpoints (#16177)
Close #15886
This commit is contained in:
@ -645,6 +645,22 @@
|
||||
"name": "status-types",
|
||||
"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",
|
||||
@ -6805,6 +6821,22 @@
|
||||
"name": "status-types",
|
||||
"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",
|
||||
|
Reference in New Issue
Block a user