CreateProjectNotification Method
Description
Creates a new project notification.
HTTP Request
POST https://api.skeddly.com/api/Projects/<id>/Notifications
Body
The body is a JSON structure with the following properties.
amazonSnsSettings
Email settings for the notification. Required when notificationMethod
is amazon-sns
.
Type: ProjectNotificationAmazonSnsSettings object
Required: Conditional
emailSettings
Email settings for the notification. Required when notificationMethod
is email
.
Type: ProjectNotificationEmailSettings object
Required: Conditional
notificationLevel
Level of notification.
Type: string
Allowed Values:
all
errors-only
Required: Yes
notificationMethod
Method of notification.
Type: string
Allowed Values:
email
slack
amazon-sns
Required: Yes
slackSettings
Slack settings for the notification. Required when notificationMethod
is slack
.
Type: ProjectNotificationSlackSettings object
Required: Conditional
Returns
A ProjectNotification object.
Sample Request
Sample Response
Last updated