feat(openapi): add readStatus filter to API query parameters
Introduced a new optional query parameter `filters[readStatus]` in the openapi.json file to allow filtering by read state (read or unread). This enhancement improves the API's flexibility in managing notification states.
This commit is contained in:
parent
09debac84f
commit
74a1716e11
10
openapi.json
10
openapi.json
@ -2688,6 +2688,16 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "filters[readStatus]",
|
||||
"required": false,
|
||||
"in": "query",
|
||||
"description": "Filter by read state: read or unread.",
|
||||
"schema": {
|
||||
"example": "unread",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "filters[referenceType]",
|
||||
"required": false,
|
||||
|
||||
@ -81,7 +81,6 @@
|
||||
"devDependencies": {
|
||||
"@axe-core/playwright": "^4.12.1",
|
||||
"@eslint/js": "^9.39.1",
|
||||
"@oxlint/migrate": "^1.82.0",
|
||||
"@playwright/test": "^1.61.1",
|
||||
"@tailwindcss/postcss": "^4.1.17",
|
||||
"@testing-library/dom": "^10.4.1",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user