Werk #13047: RESTAPI: fix agent information and agent download
Komponente | REST API |
Titel | RESTAPI: fix agent information and agent download |
Datum | 01.10.2021 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0p12 2.1.0b1 |
Level | Kleine Änderung |
Klasse | Bugfix |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
Before this Werk, both endpoints for downloading the agent binary and for getting the configuration of a agent shared the same URL, so effectively only the "show agent information" endpoint to show the configuration was active.
This endpoint did not work properly and returned an error:
AttributeError: 'str' object has no attribute 'items'
With this Werk a second endpoint was introduced to download the agent binary and the endpoint to show the agent configuration was fixed.