REST API: Documantation: Request Examples with all Responses and name the example Python, etc.

7 votes

REST API: Documantation: Request Examples with all Responses
It would be very good if all the responses are implemented in the examples.

Further it would be very useful to outline the Python example instead of naming it just: "requests"
and as well the "httpie" as bash.
Just name all examples by there programming language at first.
This would make the search much more effective.

The problem is further that for example the Responses are not possible to copy which need to write all Responses again in the script we program.
Pleas makes it possible to copy it.


Problem:
The examples contains Responses which are not in the documentation: example: 204:
https://<host>/<site>/check_mk/openapi/#operation/cmk.gui.plugins.openapi.endpoints.activate_changes.list_activations


Please recheck all the examples to be sure the documentation is the same or create the examples based on the documentation.

Under consideration RestAPI Suggested by: JPH Upvoted: 27 Oct, '23 Comments: 0

Comments: 0