Can i access the Splunk's configuration files throught the Splunk's REST API?
You can access individual sections. Read docs: http://docs.splunk.com/Documentation/Splunk/4.3.1/RESTAPI/RESTknowledge#data.2Fprops.2Fextractions