Werk #13926: validation of error responses of the REST API
|Titel||validation of error responses of the REST API|
|Checkmk-Editon||Checkmk Raw (CRE)|
|Kompatibilität||Inkompatibel - Manuelle Interaktion könnte erforderlich sein|
This werk changes the default error schema to be in line with the until now returned responses.
The schema and responses did not fit and it was not found because the responses were not checked automatically. This is now the case.
To ensure that dynamic scripts will not break only the schema has been changed. Users of dynamic languages (Python, Bash, etc.) will not have to change anything.
If you use a statically generated API client, you may need to re-compile the client after this werk.
The changed fields in the schema (not the response) are: - code -> status - message -> detail