@RestController @RequestMapping(value="/api/notifications") public class NotificationsController extends AbstractDnetController
AbstractDnetController.ErrorMessage| Constructor and Description |
|---|
NotificationsController() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAllNotifications() |
void |
deleteNotification(String id) |
Map<String,Object> |
deleteNotificationsByDate(long from,
long to) |
Notification |
getNotification(String id) |
Notification |
saveNotification(Notification notification) |
handleException@GetMapping(value="/{id}")
public Notification getNotification(@PathVariable
String id)
@DeleteMapping(value="/{id}")
public void deleteNotification(@PathVariable
String id)
@PostMapping(value="/{id}")
public Notification saveNotification(@RequestBody
Notification notification)
@DeleteMapping(value="") public void deleteAllNotifications()
Copyright © 2025. All rights reserved.