@PathPrefix(value="/x/notification") public final class NotificationWebServices extends Object implements io.vertigo.vega.webservice.WebServices
| Constructor and Description |
|---|
NotificationWebServices() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getConfig()
Extension config.
|
String |
getHelp()
Extension help.
|
List<Notification> |
getMessages()
Get messages for logged user.
|
Map<String,Object> |
getStats()
Extension stats.
|
String |
getStatus()
Extension status (code 200 or 500)
|
void |
removeMessage(String messageUuid)
Remove a message.
|
@GET(value="/api/messages") public List<Notification> getMessages()
@DELETE(value="/api/messages/{uuid}")
public void removeMessage(@PathParam(value="uuid")
String messageUuid)
messageUuid - message id.@GET(value="/status") @AnonymousAccessAllowed public String getStatus()
@GET(value="/stats") @AnonymousAccessAllowed public Map<String,Object> getStats()
@GET(value="/config") @AnonymousAccessAllowed public Map<String,Object> getConfig()
@GET(value="/help") @AnonymousAccessAllowed public String getHelp()
Copyright © 2016. All Rights Reserved.