Create a Trigger
Changed onCreate a trigger on the provided dataset or environment.
Request
- Base URLhttps://api.honeycomb.io
- URLhttps://api.honeycomb.io/1/triggers/{datasetSlug}
- AuthAPI key in header X-Honeycomb-Team
Request body
Example request
{
"tags": [
{
"key": "team",
"value": "blue"
}
],
"recipients": [
{
"details": {
"variables": [
{
"name": "severity",
"value": "warning"
}
]
}
}
],
"baseline_details": {
"offset_minutes": 60,
"type": "percentage"
}
}Response
Success - trigger created
Example response
{
"tags": [
{
"key": "team",
"value": "blue"
}
],
"recipients": [
{
"details": {
"variables": [
{
"name": "severity",
"value": "warning"
}
]
}
}
],
"baseline_details": {
"offset_minutes": 60,
"type": "percentage"
}
}Changes
- breaking
added
subschema #2to the/////////request propertyallOflist - breaking
added
subschema #2to the/////////request propertyallOflist - breaking
the
/////////request property type changed fromobjectto no type - breaking
the
/////////request property type changed fromobjectto no type - breaking
the
/////////response's property type changed fromobjectto no type for status - breaking
the
/////////response's property type changed fromobjectto no type for status - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the request property
////////// - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
added the new
on_group_changeenum value to the////////response property for the response status - warning
added the new
on_group_changeenum value to the////////response property for the response status - info
added the new
on_group_changeenum value to the request property//////// - info
added the new
on_group_changeenum value to the request property//////// - info
added
subschema #2to the/////////response propertyallOflist for the response status - info
added
subschema #2to the/////////response propertyallOflist for the response status
- breaking