Werk #16726: rest_api: Improve downtime creation documentation
| Component | REST API | ||||||
| Title | rest_api: Improve downtime creation documentation | ||||||
| Date | Apr 2, 2025 | ||||||
| Level | Trivial Change | ||||||
| Class | Bug Fix | ||||||
| Compatibility | Compatible - no manual interaction needed | ||||||
| Checkmk versions & editions |
|
This Werk adds more information to the REST API documentation about the downtime_type field present in Create a host related scheduled downtime and Create a service related scheduled downtime. Valid options for these fields are
For host related downtimes:
host- Schedule downtimes for a host identified by its name or IP addresshostgroup- Schedule downtimes for all hosts belonging to the specified host grouphost_by_query- Schedule downtimes for all hosts matching the query
For service related downtimes:
service- Schedule downtimes for services whose names appear in service_descriptions and belong to the host identified by its name or IP address in host_nameservicegroup- Schedule downtimes for all services in a specified service groupservice_by_query- Schedule downtimes for services matching the query