WTH is there no web api for configuration?

There’s a couple of ways to configure HA now, either through configuration.yaml or through a web browser. I prefer configuration.yaml because I can keep my configuration in git, but looks like HA devs are deprecating things that were configured through configuration.yaml.
I’d prefer if there was still some way to configure everything programatically, for example, through a web API.
For example, send a request to get the list of automations, a request to delete an automation, etc.
With an API call, HA would know that there’s a new automation and I shouldn’t have to click the reload button to enable it.
I’d write a tool that applies my configuration (probably described in yaml files) to my HA using the web API.

These all exist… this is how the frontend/UI of Home Assistant works as well. It communicates over our WebSocket API.

Another consumer example of this: Node-RED uses that same API.

…/Frenck

Also, wouldn’t it be easier to write an application that updates the configuration YAML, and then calls the reload service in HA?