Werk #16715: Rest API: Improvement of response data types

Component REST API
Title Rest API: Improvement of response data types
Date Jun 13, 2024
Level Trivial Change
Class Bug Fix
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.4.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

In order to improvide the Rest API, adjustments have been made to the data types returned in the comments and downtimes endpoints as specified below:

  • Show a comment and Show comments endpoints: entry_time now shows the date stamp in ISO 8601 format.

Before: "Jun 03 2024 06:05:41" Now: "2024-03-06T06:05:41+00:00"

  • Show downtime and Show all schedulled downtimes. recurring and is_service fields now are boolean types.

Before: recurring: "yes" is_service: "no"

Now: recurring: true is_service: false

To the list of all Werks