Package eu.dnetlib.broker.controllers
Class NotificationsController
java.lang.Object
eu.dnetlib.common.controller.AbstractDnetController
eu.dnetlib.broker.controllers.NotificationsController
@RestController
@RequestMapping("/api/notifications")
public class NotificationsController
extends AbstractDnetController
-
Nested Class Summary
Nested classes/interfaces inherited from class eu.dnetlib.common.controller.AbstractDnetController
AbstractDnetController.ErrorMessage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAllNotifications(String type) voiddeleteNotificationsByDate(long from, long to, String type) getNotification(String id, String type) Methods inherited from class eu.dnetlib.common.controller.AbstractDnetController
handleException
-
Constructor Details
-
NotificationsController
public NotificationsController()
-
-
Method Details
-
getNotification
@GetMapping("/{id}") public Notification getNotification(@PathVariable String id, @RequestParam(required=false) String type) -
deleteNotification
-
deleteAllNotifications
-
deleteNotificationsByDate
-