events

NotificationTransport Viewset

post/events/transports/

Request body

namestring required
mode'local' | 'webhook' | 'webhook_slack' | 'email'
webhook_urlstring uri
webhook_castring uuid nullable

When set, the selected certificate is used to validate the certificate of the webhook server.

webhook_mapping_bodystring uuid nullable

Customize the body of the request. Mapping should return data that is JSON-serializable.

webhook_mapping_headersstring uuid nullable

Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs

email_subject_prefixstring
email_templatestring
send_onceboolean

Only send notification once, for example when sending a webhook into a chat channel.

Response

pkstring uuid required
namestring required
mode'local' | 'webhook' | 'webhook_slack' | 'email'
mode_verbosestring required

Return selected mode with a UI Label

webhook_urlstring uri
webhook_castring uuid nullable

When set, the selected certificate is used to validate the certificate of the webhook server.

webhook_mapping_bodystring uuid nullable

Customize the body of the request. Mapping should return data that is JSON-serializable.

webhook_mapping_headersstring uuid nullable

Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs

email_subject_prefixstring
email_templatestring
send_onceboolean

Only send notification once, for example when sending a webhook into a chat channel.

Changes

No recorded changes to this endpoint across all 1 revision of this API.