JBoss.orgCommunity Documentation
Description: Gets the identity and its associated profile by specifying its providerId and remoteId. Every identity has its providerId and remoteId. There could be as many identities as possible. Currently, there are 2 built-in types of identities (user identities and space identities) in eXo Social.
URL:
http://{domain_name}/{rest_context_name}/private/api/social/v1-alpha3/{portalContainerName}/identity/{providerId}/{remoteId}.{format}
Requires Authentication: true
Parameters:
Required (path parameters):
portalContainerName: the associated portal container name
providerId: the providerId of Identity
remoteId: the remoteId of Identity
format: the expected returned format
Optional (query paramters): No
Request:
GET: http://localhost:8080/rest-socialdemo/private/api/social/v1-alpha3/socialdemo/identity/organization/demo.json
user identities: providerId = organization; remoteId = portal user name.
space identities: providerId = space; remoteId = space's pretty name.
Response:
{ "id" : "123456789", "providerId": "organization", "remoteId": "demo", "profile": { "fullName": "Demo Gtn", "avatarUrl": "http://localhost:8080/socialdemo/demo/profile/avatar/demo.jpg" } }