Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 70846abf7e7e3c50af2d1ad41b861b1c1bc6a833
https://github.com/tribe29/checkmk/commit/70846abf7e7e3c50af2d1ad41b861b1c1…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2023-02-23 (Thu, 23 Feb 2023)
Changed paths:
A .werks/15220
M cmk/gui/plugins/openapi/endpoints/time_period.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
Log Message:
-----------
15220 FIX time_period: put endpoint now returns 200 with edited time period config
The time period put endpoint previously returned a 204 and no
data response. This werk is a fix to return the time period
object along with a status code of 200 to align with our
other put endpoints. Scripts that use the REST API should be
adjusted accordingly.
Change-Id: I291636bdc3edd865854d8642537ef63352d282f5