Werk #15592: agent: update openapi doc examples for streamed data responses

Component REST API
Title agent: update openapi doc examples for streamed data responses
Date Mar 31, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0b2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

This werk introduces a change to the openapi documentation for endpoints that support streamed responses. The examples will now correctly show that stream=True is required for urllib and requests examples. Also, streamed responses reply with a status code of 200 and not a 204 as was previously shown in the examples.

To the list of all Werks