class StatisticsController implements Constants {

    @RequestMapping(path = "/v1/statsdetails", method = RequestMethod.GET)
    @ResponseBody
    
    public ResponseEntity<Object> getStatsDetails() {
        ResponseVO response;
        try {
            response = new ResponseVO(statsService.getStats());

        } catch (Exception e) {
            LOGGER.error("Error fetching stats details", e);
            return ResponseUtils.buildFailureResponse(e);
        }
        return ResponseUtils.buildSucessResponse(response);
    }

}