Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

document notification filters

ulferts86ce7ca7c944
diff --git a/docs/api/apiv3/paths/notifications.yml b/docs/api/apiv3/paths/notifications.yml
index 18c393e3a4d..5ae2249e93d 100644
--- a/docs/api/apiv3/paths/notifications.yml
+++ b/docs/api/apiv3/paths/notifications.yml
@@ -48,8 +48,17 @@ get:
JSON specifying filter conditions.
Accepts the same format as returned by the [queries](https://www.openproject.org/docs/api/endpoints/queries/) endpoint. Currently supported filters are:
- + readIAN: Filter by read status
+ id: Filter by primary key
+
+ + project: Filter by the project the notification was created in
+
+ + readIAN: Filter by read status
+
+ + reason: Filter by the reason, e.g. 'mentioned' or 'assigned' the notification was created because of
+
+ + resourceId: Filter by the id of the resource the notification was created for. Ideally used together with the `resourceType` filter.
+
+ + resourceType: Filter by the type of the resource the notification was created for. Ideally used together with the `resourceId` filter.
example: '[{ "readIAN": { "operator": "=", "values": ["t"] } }]'
in: query
name: filters