Member Service

Service for manipulating user memberships in a social group.

ResourceDescription
DeleteDelete the specified membership.
GetReturn the specified membership.
SelectRetrieve all memberships that match the specified criteria (at least one of groupID and userID must be present).
UpdateUpdate the state of the specified membership.

Delete

Delete the specified membership.

DELETE http://domain:port/application_context/api/core/v2/members/{id}

Path Parameters

NameTypeDescriptionDefault Value
idlongthe ID of the membership to be deleted 

Response

TypeDescription
void

Get

Return the specified membership.

GET http://domain:port/application_context/api/core/v2/members/{id}

Path Parameters

NameTypeDescriptionDefault Value
idlongthe ID of the membership to be returned 

Response

TypeDescription
MemberEntity

Select

Retrieve all memberships that match the specified criteria (at least one of groupID and userID must be present).

GET http://domain:port/application_context/api/core/v2/members?groupID=long&userID=long&state=List&limit=int&offset=int

Query Parameters

NameTypeDescriptionDefault Value
groupIDlongthe group ID of the social group for which to select memberships"-1"
userIDlongthe user ID of the user for which to select memberships"-1"
stateListoptional list of states used to filter the returned results (default is all states) 
limitintmaximum number of memberships to be returned (default is 25)"25"
offsetintzero-relative offset of the first membership to be returned (default is 0)"0"

Response

TypeDescription
EntityCollection

Update

Update the state of the specified membership.

Only the following state transitions are allowed, and only for the following people:

From State To State Authorized For Notes
banned member Jive Admin, Group Admin Remove ban on participation in this group.
banned owner Jive Admin, Group Admin Remove ban on participation in this group, and make user a group admin.
member banned Jive Admin, Group Admin Ban participation in this group.
member owner Jive Admin, Group Admin Make user a group admin.
owner banned Jive Admin, Group Admin Ban participation in this group, remove admin privileges.
owner member Jive Admin, Group Admin Remove admin privileges.
pending banned Jive Admin, Group Admin Accept membership request, but ban user from participation.
pending member Jive Admin, Group Admin Accept membership request.
pending owner Jive Admin, Group Admin Accept membership request, make user a group admin.

PUT http://domain:port/application_context/api/core/v2/members/{id}

Path Parameters

NameTypeDescriptionDefault Value
idlongthe ID of the social group membership to be updated 

Response

TypeDescription
MemberEntity