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:
alisaza 2026-09-10 13:08:18 +03:30
parent 09debac84f
commit 74a1716e11
2 changed files with 10 additions and 1 deletions

View File

@ -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]", "name": "filters[referenceType]",
"required": false, "required": false,

View File

@ -81,7 +81,6 @@
"devDependencies": { "devDependencies": {
"@axe-core/playwright": "^4.12.1", "@axe-core/playwright": "^4.12.1",
"@eslint/js": "^9.39.1", "@eslint/js": "^9.39.1",
"@oxlint/migrate": "^1.82.0",
"@playwright/test": "^1.61.1", "@playwright/test": "^1.61.1",
"@tailwindcss/postcss": "^4.1.17", "@tailwindcss/postcss": "^4.1.17",
"@testing-library/dom": "^10.4.1", "@testing-library/dom": "^10.4.1",