Future for a full JSON REST api?

I had hope we will get a full JSON REST api with 2.5. But the new unstable api still uses value_raw which is a string representation of a python object. That mostly looks like JSON but not always is (e.g. for tuples). Sometimes this can cause real headaches: especially when using the Checkmk ansible collection. Using string for that field is prone to escaping issues and automatic type conversions which may fail.

Is it somewhere on the roadmap to get full JSON objects for the API?

2 Likes

Hi @mayrstefan

This is unfortunately not something we can easily decide on the REST API layer itself apart if we were to introduce a static schema for all rule definitions which is not planned. We are currently looking into migrating away from valuespecs which is a pre-requirement to even start discussing your proposal. Ideally we finish the migration this year

1 Like