LIST Targets
GET/workspaces/:workspaceId/alerting/targets
LIST Targets
Request
Path Parameters
workspaceId uuidrequired
Query Parameters
type string
Possible values: [Slack
, AzureServiceBus
, EmailGroup
]
A destination the alert is sent to.
Responses
- 200
List of targets
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
name stringrequired
type stringrequired
Possible values: [Slack
, AzureServiceBus
, EmailGroup
]
Allowed values: Slack, AzureServiceBus, EmailGroup
properties
object
required
uri urinullable
Applicable to 'Slack' target.
connectionString stringnullable
Applicable to 'ServiceBus' target.
entityPath stringnullable
Applicable to 'ServiceBus' target.
emails string[]nullable
Applicable to 'EmailGroup' target.
[
{
"name": "string",
"type": "Slack",
"properties": {
"uri": "string",
"connectionString": "string",
"entityPath": "string",
"emails": [
"string"
]
}
}
]
[
{
"name": "my-slack-target",
"type": "Slack",
"properties": {
"uri": "https://example.com"
}
},
{
"name": "my-service-bus-target",
"type": "AzureServiceBus",
"properties": {
"connectionString": "my-connection-string",
"entityPath": "my-entity-path"
}
}
]
Loading...