Adding API endpoints, updated sit conf repository to return a json_encode compatible php array