REST - Notification
REST-Interface
Get count of web-socket-sessions
URLGET <application-url>/api/notification/sessioncount
Produces
text/plain
Integer - count
- 200 OK
Permission
Login
SampleGET 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:
https://server1/mtr-backend;https://server2/mtr-backend;
URLPOST <application-url>/api/notification
Consumes
application/json
application/xml
com.matterial.mtr.api.object.NotificationContainer
Produces-
- 202 ACCEPTED
Permission-
SamplePOST http://localhost:8080/mtr-backend/api/notification