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

Komponente REST API
Titel agent: update openapi doc examples for streamed data responses
Datum 31.03.2023
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
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.

Zur Liste aller Werks