Alert Attributes V2

View and manage alert attributes.

Alert attributes are used to parse structured data from alerts coming in via alert sources.

List Alert Attributes V2

List alert attributes.

Responses
200

OK response.

get/v2/alert_attributes
Request samples
Response samples
application/json
{
  • "alert_attributes": [
    ]
}

Create Alert Attributes V2

Create a new alert attribute.

Request
Request Body schema: application/json
required
array
required
boolean

Whether this attribute is an array

name
required
string

Unique name of this attribute

type
required
string

Engine resource name for this attribute

Responses
201

Created response.

post/v2/alert_attributes
Request samples
application/json
{
  • "array": false,
  • "name": "service",
  • "type": "CatalogEntry[\"01GW2G3V0S59R238FAHPDS1R67\"]"
}
Response samples
application/json
{
  • "alert_attribute": {
    }
}

Destroy Alert Attributes V2

Destroy an alert attribute.

Request
path Parameters
id
required
string

The ID of this attribute

Example: 01GW2G3V0S59R238FAHPDS1R66
Responses
204

No Content response.

delete/v2/alert_attributes/{id}
Request samples

Show Alert Attributes V2

Show an alert attribute.

Request
path Parameters
id
required
string

The ID of this attribute

Example: 01GW2G3V0S59R238FAHPDS1R66
Responses
200

OK response.

get/v2/alert_attributes/{id}
Request samples
Response samples
application/json
{
  • "alert_attribute": {
    }
}

Update Alert Attributes V2

Update an alert attribute.

Request
path Parameters
id
required
string

The ID of this attribute

Example: 01GW2G3V0S59R238FAHPDS1R66
Request Body schema: application/json
required
array
required
boolean

Whether this attribute is an array

name
required
string

Unique name of this attribute

type
required
string

Engine resource name for this attribute

Responses
200

OK response.

put/v2/alert_attributes/{id}
Request samples
application/json
{
  • "array": false,
  • "name": "service",
  • "type": "CatalogEntry[\"01GW2G3V0S59R238FAHPDS1R67\"]"
}
Response samples
application/json
{
  • "alert_attribute": {
    }
}