looks dead to me:
but maybe we can figure something out to use icingaweb2/icingadb api.
- Why do you need access to the icinga2 api directly?
- Query Hosts / Services?
- Set Downtimes?
All this can be done using curl requests against the icingaweb2 module (monitoring or icingadb)
These forms are api capable so downtimes set using some curl magic.
for hosts and services this explaination might help
And since icingaweb2 can do ldap you are good to go.
One alternative, you can always add a proxy that knows “icinga2 credentials” maps the ldap user to an api user.