Added functions to API to be able to get and set settings for a datasources