Get Activity Feed - PurposeOpen/Platform GitHub Wiki

GET /api/:locale/movements/:movement_id/activity(.:format)

Retrieves the activity feed for the requested Content Module ID if provided, otherwise it retrieves the activity feed for the whole movement

Parameters
movement_id
Mandatory
Movement Id for which we want to retrieve the Activity Feed
locale
Mandatory
Activity Feed localized version
module_id
Optional
Module Id for which we want to retrieve the Activity Feed
type
Optional
Activity Type, must be either 'comments' or empty / not sent. If ''comments'', retrieves only user activities which contain a comment

Response

Status Code

200 if Successful

Content

Field Description
Feeds's fields
i.e.: id, html, timestamp , etc.
See Feed

Example Request

GET /api/en/movements/test-movement/activity.json
Content-Type: application/x-www-form-urlencoded

module_id=1234&type=comments

Example Response

200 (OK)
Content-Type: application/json

[{
    "id": 1769193,
    "html": "<span class=\"name\">D999</span>, Virgin Islands, British<br/><a data-action-name=\"c3-action-test\" data-page-name=\"c3-action-test-page\">C3 HEADER!</a>",
    "timestamp": "Fri, 15 Feb 2013 13:44:46 GMT",
    "timestamp_in_words": "about 1 month ago",
    "comment": null,
    "first_name": "John",
    "last_name": "Doe",
    "country_iso": "vg",
    "country": "Virgin Islands, British"
},...
]

back

⚠️ **GitHub.com Fallback** ⚠️