Versioned REST API specification?

Hi,

Is there a repo where we can have a look at the spec file for the REST API for each Checkmk version?

This would enable us to know which API endpoints (and their arguments) are available in which Checkmk version.

Hello Robert,

+1 from me

But the specification is calculated inside the instance:

I copy the ~/var/check_mk/rest_api/spec/swagger-ui.spec from each version and parse it when needed. My parser outputs everything in a (for me) readable way in console:

Grepping for “Method:” returns all valid endpoints then:

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.