JBoss.orgCommunity Documentation
Description: Gets the comments on an activity.
URL:
http://{domain_name}/{rest_context_name}/private/api/social/v1-alpha3/{portalContainerName}/activity/{activityId}/comments.{format}
Requires Authentication: true
Parameters:
Required (path parameters):
portalContainerName: the associated portal container name
activityId: the specified activity id
format: the expected returned format
Optional (query paramters): No
Request:
GET: http://cloud-workspaces.com/rest/private/api/social/v1-alpha3/portal/activity/1a2b3c4d5e/comments.json
Response:
{ total: 10, comments: [ { "id": "123456" "identityId": "12345abcde", "text": "Comment there!", "postedTime": 123456789, "createdAt": "Fri Jun 17 06:42:26 +0000 2011" }, { "id" : "234567" "identityId": "12345abcde", "text": "Comment there 2!", "postedTime": 123456789, "createdAt": "Fri Jun 17 06:42:26 +0000 2011" } ] }