Notifiers
Create a notifier
Changed onCreates a notifier destination in a project. Choose NOTIFIER_TYPE_EMAIL, NOTIFIER_TYPE_SLACK_WEBHOOK, or NOTIFIER_TYPE_WEBHOOK and provide the matching destination fields.
post/v2/notifiers
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/notifiers
- AuthHTTP bearer
Request body
Example request
{
"display_name": "Deployment alerts",
"type": "NOTIFIER_TYPE_SLACK_WEBHOOK",
"incoming_webhook_url": "https://hooks.slack.com/services/T0000/B0000/example-token"
}Response
OK
Example response
{
"notifier": {
"type": "NOTIFIER_TYPE_SLACK_WEBHOOK"
}
}Changes
- breaking
removed the enum value
NOTIFIER_TYPE_UNSPECIFIEDof the request property - info
added the non-success response with the status
- info
removed the
NOTIFIER_TYPE_UNSPECIFIEDenum value from the/response property for the response status
- breaking
- warning
added the new
NOTIFIER_TYPE_UNSPECIFIEDenum value to the/response property for the response status - info
added the new
NOTIFIER_TYPE_UNSPECIFIEDenum value to the request property - info
removed the non-success response with the status
- warning