/** * Returns information of all existing alerts. * <p> * <i> Example URL: /alerts</i> * </p> * * @return a list of {@link Alert} with all existing alerts. */ @RequestMapping(method = GET, value = "") @ResponseBody public List<Alert> getAll() { return alertService.getAlerts(); }