Package org.exoplatform.social.rest.api
Interface IdentityRestResources
-
- All Superinterfaces:
org.exoplatform.services.rest.resource.ResourceContainer,SocialRest
- All Known Implementing Classes:
IdentityRestResourcesV1
public interface IdentityRestResources extends SocialRest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetIdentities(javax.ws.rs.core.UriInfo uriInfo, String type, int offset, int limit, boolean returnSize, String expand)Process to return a list of identities in json formatjavax.ws.rs.core.ResponsegetIdentityById(javax.ws.rs.core.UriInfo uriInfo, String id, String expand)Process to return an identity in json formatjavax.ws.rs.core.ResponsegetIdentityByProviderIdAndRemoteId(javax.ws.rs.core.UriInfo uriInfo, String providerId, String remoteId, String expand)Return an identity identified by its providerId and remoteIdjavax.ws.rs.core.ResponsegetRelationshipsOfIdentity(javax.ws.rs.core.UriInfo uriInfo, String id, String with, boolean returnSize, int offset, int limit, String expand)Process to return all relationships of an identity in json format
-
-
-
Method Detail
-
getIdentities
javax.ws.rs.core.Response getIdentities(@Context javax.ws.rs.core.UriInfo uriInfo, String type, int offset, int limit, boolean returnSize, String expand) throws ExceptionProcess to return a list of identities in json format- Parameters:
uriInfo-- Returns:
- Throws:
Exception
-
getIdentityById
javax.ws.rs.core.Response getIdentityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws ExceptionProcess to return an identity in json format- Parameters:
uriInfo-- Returns:
- Throws:
Exception
-
getIdentityByProviderIdAndRemoteId
javax.ws.rs.core.Response getIdentityByProviderIdAndRemoteId(@Context javax.ws.rs.core.UriInfo uriInfo, String providerId, String remoteId, String expand)Return an identity identified by its providerId and remoteId- Parameters:
uriInfo-providerId-remoteId-expand-- Returns:
ResponsecontainingIdentityEntity
-
getRelationshipsOfIdentity
javax.ws.rs.core.Response getRelationshipsOfIdentity(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String with, boolean returnSize, int offset, int limit, String expand) throws ExceptionProcess to return all relationships of an identity in json format- Parameters:
uriInfo-- Returns:
- Throws:
Exception
-
-