Class NotificationsController

java.lang.Object
eu.dnetlib.common.controller.AbstractDnetController
eu.dnetlib.broker.controllers.NotificationsController

@RestController @RequestMapping("/api/notifications") public class NotificationsController extends AbstractDnetController
  • Constructor Details

    • NotificationsController

      public NotificationsController()
  • Method Details

    • getNotification

      @GetMapping("/{id}") public Notification getNotification(@PathVariable String id, @RequestParam(required=false) String type)
    • deleteNotification

      @DeleteMapping("/{id}") public void deleteNotification(@PathVariable String id)
    • deleteAllNotifications

      @DeleteMapping("") public void deleteAllNotifications(@RequestParam(required=false) String type)
    • deleteNotificationsByDate

      @DeleteMapping("/byDate/{from}/{to}") public Map<String,Object> deleteNotificationsByDate(@PathVariable long from, @PathVariable long to, @RequestParam(required=false) String type)