Sazabi
APINotification delivery rules

List delivery rules

GET
/notification-delivery-rules

List the positive delivery rules for a project.

Query Parameters

projectId?string

Project whose notification delivery rules are being managed.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/notification-delivery-rules"
{  "rules": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",      "notificationTypes": [        "issue_triggered"      ],      "destinations": [        {          "id": "string",          "channel": "slack_channel",          "destinationKey": "string",          "displayName": "string"        }      ],      "condition": {        "severities": [          "low"        ]      },      "component": {        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",        "label": "string",        "lifecycle": "active"      },      "componentId": "616ccd92-d666-4180-8349-8d125b269fac",      "includeDescendants": true,      "suspendedAt": "2019-08-24T14:15:22Z",      "suspensionReason": "string",      "components": [        {          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",          "label": "string",          "lifecycle": "active"        }      ],      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ]}