JBoss.orgCommunity Documentation
Description: Allows an identity to remove his "like" action on an activity. It is recommended to use the DELETE 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}/like/destroy.{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:
POST: http://cloud-workspaces.com/rest/private/api/social/v1-alpha3/portal/activity/1a2b3c4d5e/like/destroy.json
Response:
{ "liked": false }