Werk #17501: API changes in graph image export endpoint

Component User interface
Title API changes in graph image export endpoint
Date Jan 9, 2025
Level Trivial Change
Class New Feature
Compatibility Incompatible - Manual interaction might be required
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.4.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0p25
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

The API of the endpoint for downloading graph images introduced in werk #4733 was changed incompatibly. The new request format is as follows:

{
    "specification": {
        "site": "my_site",
        "host_name": "my_host",
        "service_description": "My Service",
        "graph_type": "template",
    }
}

The corresponding URL reads

http://.../my_site/check_mk/graph_image.py?request={"specification": {"site": "my_site", "host_name": "my_host", "service_description": "My Service", "graph_type": "template"}}

Please adjust any queries to this endpoint accordingly.

To the list of all Werks