Add subject-type filter to list notification API endpoints (#16177)
Close #15886
This commit is contained in:
parent
f4d3bf7867
commit
9273601064
5 changed files with 105 additions and 43 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue