Get all latest activities
GET/participants/:user_id/activities/all/latest
Get activity data.
Fetches a list of participant's latest activities. Currently, it returns only the GENERAL_ACTIVITY type.
The query option groups can be used to filter the data by the activityType group. The available groups are PYSHICAL | RESPONSE | ADHERENCE | MEASUREMENT
eg) /activities/all/latest?groups=ADHERENCE,MEASUREMENT
If groups are not provided, then it will just return the latest activity data regardless of its activityType group.
Request
Responses
- 200
- 400
- 401
- 409
- 422
- 500
OK
Response Headers
Access-Control-Allow-Headers
Access-Control-Allow-Methods
Access-Control-Allow-Origin
Cache-Control
Content-Type
Bad Request
Unauthorized
Conflict
Unprocessable Entity
Internal Server Error