Notifiers

Create a notifier

Changed on

Creates 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 URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/notifiers
  • Auth
    HTTP bearer

Request body

OR
OR

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_UNSPECIFIED of the request property

    • info

      added the non-success response with the status

    • info

      removed the NOTIFIER_TYPE_UNSPECIFIED enum value from the / response property for the response status

    • warning

      added the new NOTIFIER_TYPE_UNSPECIFIED enum value to the / response property for the response status

    • info

      added the new NOTIFIER_TYPE_UNSPECIFIED enum value to the request property

    • info

      removed the non-success response with the status