Creates a new Notification Action for Spike Protection.
Notification Actions notify a set of members when an action has been triggered through a notification service such as Slack or Sentry. For example, organization owners and managers can receive an email when a spike occurs.
Request body which must comply to the following JSON Schema:
{
"required" : [ "service_type", "trigger_type" ],
"type" : "object",
"properties" : {
"trigger_type" : {
"type" : "string",
"description" : "Type of the trigger that causes the notification. The only supported trigger right now is: `spike-protection`."
},
"service_type" : {
"type" : "string",
"description" : "Service that is used for sending the notification.\n- `email`\n- `slack`\n- `sentry_notification`\n- `pagerduty`\n- `opsgenie`\n"
},
"integration_id" : {
"type" : "integer",
"description" : "ID of the integration used as the notification service. See\n[List Integrations](https://docs.sentry.io/api/integrations/list-an-organizations-available-integrations/)\nto retrieve a full list of integrations.\n\nRequired if **service_type** is `slack`, `pagerduty` or `opsgenie`.\n"
},
"target_identifier" : {
"type" : "string",
"description" : "ID of the notification target, like a Slack channel ID.\n\nRequired if **service_type** is `slack` or `opsgenie`.\n"
},
"target_display" : {
"type" : "string",
"description" : "Name of the notification target, like a Slack channel name.\n\nRequired if **service_type** is `slack` or `opsgenie`.\n"
},
"projects" : {
"type" : "array",
"description" : "List of projects slugs that the Notification Action is created for.",
"items" : {
"type" : "string"
}
}
},
"description" : "Django Rest Framework serializer for incoming NotificationAction API payloads"
}Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension Sentry Nodes from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!