Werk #18577 · Aug 20, 25
REST-API: Include the downtime mode in responses
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.
Details
- Class:
- New Features
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 2.5.0b1All Editions
- 2.4.0p11All Editions
- 2.3.0p36CommunityProUltimateUltimate + MT