API endpoints for maintenancewindows
Condition groups that determine which alerts this maintenance window applies to
[
{
"conditions": [
{
"operation": {
"label": "Lawrence Jones",
"value": "01FCQSP07Z74QMMYPDDGQB9FTG"
},
"param_bindings": [
{
"array_value": [
{
"label": "Lawrence Jones",
"literal": "SEV123",
"reference": "incident.severity"
}
],
"value": {
"label": "Lawrence Jones",
"literal": "SEV123",
"reference": "incident.severity"
}
}
],
"subject": {
"label": "Incident Severity",
"reference": "incident.severity"
}
}
]
}
]When this maintenance window was created
"2021-08-17T13:28:57.801578Z"
When the maintenance window ends
"2021-08-17T14:28:57.801578Z"
Unique identifier for this maintenance window
"01FCNDV6P870EA6S7TK1DSYDG0"
{
"alert": {
"id": "01GW2G3V0S59R238FAHPDS1R66",
"title": "*errors.withMessage: PG::Error failed to connect"
},
"api_key": {
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"name": "My test API key"
},
"user": {
"email": "lisa@incident.io",
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"name": "Lisa Karlin Curtis",
"role": "owner",
"slack_user_id": "U02AYNF2XJM"
},
"workflow": {
"id": "01FCNDV6P870EA6S7TK1DSYDG0",
"name": "My little workflow"
}
}Human readable name for the maintenance window
"Planned database migration"
Whether to retrigger firing alerts through alert routing when the window ends
false
Whether to automatically resolve all firing alerts that matched this window when it ends
false
Whether to show this maintenance window in the dashboard sidebar when active
true
When the maintenance window starts
"2021-08-17T13:28:57.801578Z"
When this maintenance window was last updated
"2021-08-17T13:28:57.801578Z"
When this maintenance window was archived, if it has been
"2021-08-17T13:28:57.801578Z"
If set, alerts matching this window will be escalated to these targets
[
{
"escalation_paths": {
"array_value": [
{
"label": "Lawrence Jones",
"literal": "SEV123",
"reference": "incident.severity"
}
],
"value": {
"label": "Lawrence Jones",
"literal": "SEV123",
"reference": "incident.severity"
}
},
"users": {
"array_value": [
{
"label": "Lawrence Jones",
"literal": "SEV123",
"reference": "incident.severity"
}
],
"value": {
"label": "Lawrence Jones",
"literal": "SEV123",
"reference": "incident.severity"
}
}
}
]If set, alerts matching this window will be automatically attached to this incident
"01FCNDV6P870EA6S7TK1DSYDG0"
Custom message included in notifications about this maintenance window
"Scheduled downtime for database migration"
Channels to notify about the maintenance window starting and ending
[
{
"channel_id": "C0ACTHQMHS8",
"channel_name": "general",
"channel_type": "public",
"is_private": false
}
]Minutes before the end to send a notification to the configured channels
5
Minutes before the start to send a notification to the configured channels
15