Zurück zur Übersicht » REST - Activity

REST - Activity

REST-Interface

Activities stores all notifications that might go to a user via email or websocket. You can load the past activities which may be sent to you as notification via this API.

Get activity by id

URL
GET <application-url>/api/activity/<activityId>

Path parameter

Produces

application/json
application/xml

com.matterial.mtr.api.object.Activity

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/activity/7


Get activities

URL
GET <application-url>/api/activity

Query parameter

Produces

application/json
application/xml

com.matterial.mtr.api.object.ListResult<Activity>

Permission
Login

Sample
GET http://localhost:8080/mtr-backend/api/activity?count=true&limit=10