Gets an activity by its Id.
URL:
http://{domain_name}/{rest_context_name}/private/{portalName}/social/activities/{activityId}.{format}
Level API: Platform
Parameters:
Required (path parameters):
| Parameter | Description | 
|---|---|
| portalName | The associated portal container name. | 
| activityId | The Id of the target activity. | 
| format | The format of the returned result, for example: JSON, or XML. | 
Optional (query parameters):
| Parameter | Description | 
|---|---|
| poster_identity | The identity information of the poster. | 
| number_of_comments | The number of comments will be returned. | 
| activity_stream | Specifies the stream of an activity. | 
| number_of_likes | The number of likes will be returned. |