JBoss.orgCommunity Documentation
Description: Gets all the identities who like an existing activity.
URL:
http://{domain_name}/{rest_context_name}/private/api/social/v1-alpha3/{portalContainerName}/activity/{activityId}/likes.{format}
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://localhost:8080/rest-socialdemo/private/api/social/v1-alpha3/socialdemo/activity/1a2b3c4d5e/likes.json
Response:
{
totalNumberOfLikes: 2,
likesByIdentities: [
{
"id":1234567,
"providerId":"organization",
"remoteId":"demo",
"profile": {
"fullName":"Demo GTN",
"avatarUrl":"http://localhost:8080/profile/u/demo/avatar.jpg?u=12345"
}
},
{
"id":23456,
"providerId":"organization",
"remoteId":"root",
"profile": {
"fullName":"Root GTN",
"avatarUrl":"http://localhost:8080/profile/u/root/avatar.jpg?u=12345"
}
},
]
}