notification-portlet-webapp/src/main/java/org/jasig/portlet/notice/controller/rest/JPANotificationRESTController.java
@RequestMapping(value = "/{notificationId}/events", method = RequestMethod.GET)
    @ResponseBody
    public List<EventDTO> getEventsByNotification(@PathVariable("notificationId") long id) {
        return restService.getEventsByNotification(id);
    }
@RequestMapping(value = "/{notificationId}/events", method = RequestMethod.GET)
    @ResponseBody
    public List<EventDTO> getEventsByNotification(@PathVariable("notificationId") long id) {
        return restService.getEventsByNotification(id);
    }
@ RequestMapping ( value = "/{notificationId}/events" , method = RequestMethod . GET ) @ ResponseBody public List < EventDTO > getEventsByNotification ( @ PathVariable ( "notificationId" ) long id ) { return restService . getEventsByNotification ( id ) ; }
Get the list of events for a notification.

@param id the notification id
@return the list of events
Get the list of events for a notification .