Werk #13047: RESTAPI: fix agent information and agent download
Component | REST API | ||||
Title | RESTAPI: fix agent information and agent download | ||||
Date | Oct 1, 2021 | ||||
Level | Trivial Change | ||||
Class | Bug Fix | ||||
Compatibility | Compatible - no manual interaction needed | ||||
Checkmk versions & editions |
|
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.