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