System Administration > Monitoring > Notifications

Add uri filters for the specified watcher ID.

Add uri filters for the specified watcher ID.

Request:

Method:
POST
URI Path(s):
/api/v1/notification-watchers/<watcher-id>/notifications?action=add_uri_filters
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Notification+

Example Request:

POST /api/v1/notification-watchers/daabc688-3a90-4545-9af8-23e1b045e6f3/notifications?action=add_uri_filters { "notification_id": "notification.watcher", "uri_filters": ["/api/v1/notification-watchers/2fb7bc9b-b7e4-4643-952f-17eb10554842"] }

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
NotificationsList+

Example Response:

{ "notifications": [ { "notification_id": "notification.watcher", "uri_filters": ["/api/v1/notification-watchers/2fb7bc9b-b7e4-4643-952f-17eb10554842", "/api/v1/notification-watchers/e678b8e7-c18e-4703-9748-7aa1cd47b00a", "/api/v1/notification-watchers/2d17e151-342f-4a03-a28e-98e112c1560f"] } { "notification_id": "group.change_notification", "uri_filters": ["/infra/domains/cgw/groups/multiple-expr-1"] } ] }

Required Permissions:

crud

Feature:

manager

Additional Errors: