Werk #13926: validation of error responses of the REST API
Komponente | REST API | ||||
Titel | validation of error responses of the REST API | ||||
Datum | 05.04.2022 | ||||
Level | Bedeutende Änderung | ||||
Klasse | Bugfix | ||||
Kompatibilität | Inkompatibel - Manuelle Interaktion könnte erforderlich sein | ||||
Checkmk versions & editions |
|
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