Werk #18577: REST-API: Include the downtime mode in responses
| Component | REST API | ||||||
| Title | REST-API: Include the downtime mode in responses | ||||||
| Date | Aug 20, 2025 | ||||||
| Level | Trivial Change | ||||||
| Class | New Feature | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
The REST-API now includes the downtime mode in the responses of the
Show all schedules downtimes and Show downtime endpoints.
The mode reflects whether the downtime is flexible. It can either be:
{"type": "fixed"}
Or, for flexible downtimes with the flex duration in minutes:
{
"type": "flexible",
"duration_minutes": 120
}
Flexible downtimes can already be created with the duration parameter
on the Create a host/service related scheduled downtime endpoints.
The behaviour there doesn't change.