JBoss.orgCommunity Documentation

GET providerId/remoteId.format

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:

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"
   }
 }