General (python) Api

Hi,

I want to use the rest-api from checkmk 2.0.
I managed to generate a python api from the openapi file of my instance.
But I want to reuse the api for mutliple instances, on different servers but the generated api code is instance specific.

Is there a way to configure it to a more general api?

Thanks for you answers

Have a look at check_mk_extensions/checkmkapi.py at cmk2.0 · HeinleinSupport/check_mk_extensions · GitHub

We have not used the openapi spec to generate an API client but have written the methods we need ourself.

2 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.