Feature request from Vinai, posted on GitHub Apr 07, 2016
Before going through the work to create a PR, I wanted to ask if this feature maybe already is being developed internally.
Currently there is no service contract API to manage the system configuration in the core_config_data table.
I am aware of the \Magento\Store\Api\StoreConfigManagerInterface and \Magento\Store\Api\Data\StoreConfigInterface, but having a more generic interface to build extensions to help with deployment and provisioning of dev systems would be very useful.
Currently the only way to do that I have found was to use direct SQL inserts into the table, or use \Magento\Config\Model\Config directly. In addition to not being blessed with an @api annotation, the public interface isn't easy to use with the PHP array it uses.
What I would like to have in the to be added service contract API would be a data object with a scope, scope_id, path and value. And a repository to save and get them.
So if this isn't already part of an internal task and you think it is a good idea, please give me a go ahead.