Added REST functionality for configAPI