Zurück zur Übersicht » REST - Notification

REST - Notification

REST-Interface

Get count of web-socket-sessions

URL
GET <application-url>/api/notification/sessioncount

Produces

text/plain

Integer - count

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/notification/sessioncount

Remote update

This should not be invoked manually, but will be called from the application itself. This only works, if preference general.inhouse.enabled is set to true and will only be used, if more than one server is involved and all of them are listed at general.renderUpdate.servletUrl.
Sample value for general.renderUpdate.servletUrl:

URL
POST <application-url>/api/notification

Consumes

application/json
application/xml

com.matterial.mtr.api.object.NotificationContainer

Produces
-

Permission
-

Sample
POST http://localhost:8080/mtr-backend/api/notification