@ 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 .