Alert Channels
Update alert channel
The channel id
2c1fc20d-59b4-4f67-8982-6e0377e8fdbd
JSON Schema representation of the configuration properties
No content
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
The supplied identifier is already being used by another resource
An internal server error has occurred
PUT /api/v1/environments/{name}/proxy/api/v1/alert/channels/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 127
{
"name": "kafka-prd-health",
"connectionName": "slack-connection",
"properties": [
{
"key": "channel",
"value": "#my-kafka-health-prd"
}
]
}
No content
Patch an alert channel
The channel id
2c1fc20d-59b4-4f67-8982-6e0377e8fdbd
JSON Schema representation of the configuration properties
No content
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
The supplied identifier is already being used by another resource
An internal server error has occurred
PATCH /api/v1/environments/{name}/proxy/api/v1/alert/channels/{id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 142
{
"name": "kafka-prd-health",
"connectionName": "slack-connection",
"enabled": true,
"properties": [
{
"key": "channel",
"value": "#my-kafka-health-prd"
}
]
}
No content
Get the alert channel details
The channel id
2c1fc20d-59b4-4f67-8982-6e0377e8fdbd
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{name}/proxy/api/v1/alert/channels/{id} HTTP/1.1
Host:
Accept: */*
{
"id": "2c1fc20d-59b4-4f67-8982-6e0377e8fdbd",
"name": "kafka-prd-health",
"templateName": "Slack",
"templateVersion": 1,
"connectionName": "slack-connection",
"properties": [
{
"key": "channel",
"value": "#my-kafka-health-prd"
}
],
"createdAt": "2021-01-01T00:00:00Z",
"createdBy": "joe.bloggs",
"updatedAt": "2021-01-01T00:00:00Z",
"updatedBy": "joe.bloggs",
"enabled": true
}
Deletes alerts with timestamps before the specified value
Timestamp (milliseconds since the epoch), for which any alerts older than it should be deleted
1562922585000
No content
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
DELETE /api/v1/environments/{name}/proxy/api/v1/alert/events?timestamp=1 HTTP/1.1
Host:
Accept: */*
No content
Lists alert channels ordered by their creation time (most recent first)
The page number to be returned, must be greater than zero. Defaults to 1.
1
The elements amount on a single page, must be greater than zero.
25
Filter by channel template name
Matches channels by name
The field to sort results by
Sorting order. Defaults to ascending
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{name}/proxy/api/v1/alert/channels?pageSize=1 HTTP/1.1
Host:
Accept: */*
{
"values": [
{
"id": "2c1fc20d-59b4-4f67-8982-6e0377e8fdbd",
"name": "kafka-prd-health",
"templateName": "Slack",
"templateVersion": 1,
"connectionName": "slack-connection",
"properties": [
{
"key": "channel",
"value": "#my-kafka-health-prd"
}
],
"createdAt": "2021-01-01T00:00:00Z",
"createdBy": "joe.bloggs",
"updatedAt": "2021-01-01T00:00:00Z",
"updatedBy": "joe.bloggs",
"enabled": true
}
],
"pagesAmount": 1,
"totalCount": 1
}
update of a fixed alert setting
The Alert ID to enable
1000
Possible values: JSON Schema representation of the configuration properties
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{name}/proxy/api/v2/alert/settings/{alert_setting_id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"enabled": true,
"channels": [
"2c1fc20d-59b4-4f67-8982-6e0377e8fdbd"
],
"config": {
"enabled": true,
"restarts": 5,
"gracePeriod": 60
}
}
{
"message": "text"
}
partial update of a fixed alert setting
The Alert ID to enable
1000
Possible values: JSON Schema representation of the configuration properties
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PATCH /api/v1/environments/{name}/proxy/api/v2/alert/settings/{alert_setting_id} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"enabled": true,
"channels": [
"2c1fc20d-59b4-4f67-8982-6e0377e8fdbd"
],
"config": {
"enabled": true,
"restarts": 3,
"gracePeriod": 120
}
}
{
"message": "text"
}
Last updated
Was this helpful?