JBoss.orgCommunity Documentation
Description: Deletes an existing comment by its Id using the POST method. The deleted activity information will be returned in the JSON format. It is recommended to use the POST method, except the case that clients cannot make request via this method.
URL:
http://{domain_name}/{rest_context_name}/private/api/social/v1-alpha3/{portalContainerName}/activity/{activityId}/comment/destroy/{commentId}.{format}
Parameters:
Required (path parameters):
portalContainerName: the associated portal container name
activityId: the specified activity id
format: the expected returned format
commentId: the specified comment id
Optional (query paramters): No
Request:
POST: http://cloud-workspaces.com/rest/private/api/social/v1-alpha3/portal/activity/1a2b3c4d5e/comment/destroy/123456.json
Response:
{ "id": "123456" "identityId": "12345abcde", "text": "My comment here!!!", "postedTime": 123456789, "createdAt": "Fri Jun 17 06:42:26 +0000 2011" }