All functionalities should be done via the RESTful API. I think it's better to praise the YAML file in the CLI not the daemon.