Gets the identity and its associated profile by specifying its provider Id and user/space Id. There can be many identities, such as, user identities, and space identities.
URL:
http://{domain_name}/{rest_context_name}/private/api/social/v1-alpha3/{portalContainerName}/identity/{providerId}/{remoteId:.+}.{format}
Level API: Platform
Requires Authentication: true
Parameters:
Required (path parameters):
Parameter | Description |
---|---|
portalContainerName | The associated portal container name. |
providerId | The provider Id of the identity. |
remoteId | The user/space Id. |
format | The format of the returned result, for example, JSON or XML. |
Optional (query parameters): No
Request example:
GET http://localhost:8080/rest/private/api/social/v1-alpha3/portal/identity/organization/demo.json
Response:
{ "id" : "123456789", "providerId": "organization", "remoteId": "demo", "profile": { "fullName": "Demo Gtn", "avatarUrl": "http://localhost:8080/portal/demo/profile/avatar/demo.jpg" } }