REST - Notification

REST-Interface

Back to overview

Get count of web-socket-sessions

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

Produces

text/plain

Integer - count

  • 200 OK

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:

  • https://server1/mtr-backend;https://server2/mtr-backend;

URL
POST <application-url>/api/notification

Consumes

application/json
application/xml

com.matterial.mtr.api.object.NotificationContainer

Produces
-

  • 202 ACCEPTED

Permission
-

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

×