Werk #4701: WATO Web-API: now able to manage sites

KomponenteWATO
TitelWATO Web-API: now able to manage sites
Datum2017-05-25 23:08:41
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version1.5.0i1
LevelProminent Change
KlasseNew Feature
KompatibilitätKompatibel - benötigt kein manuelles Eingreifen

You can now configure the WATO sites through new API calls

  • get_site: requires the site_id key in the request object
  • set_site: expects the same data format, than the get_site call provides.
  • delete_site: requires the site_id key in the request object
  • login_site: requires the site_id, the username and the password keys in the request object
  • logout_site: requires the site_id key in the request object

Important: Right now the interface is only able to speak the python language.
The existing output_format parameter, as well as the new request parameter request_format must both be set to python. An additional interface language is planned, maybe XML. Furthermore, these API calls are intended for admin use only, since they might modify the entire site configuration object.