Manage the relationship between Users and Groups.
Members are accessed via /api/member.
See "Object Properties" in Introduction for basic shared properties.
Complete details in MemberProperties.
See "Related Objects" in Introduction for how to use them.
The Group that controls member.
The User that controls member.
The services used to fetch and manipulate members.
Searching across all groups is no longer supported. To search on a single group see "Relationships" in Group.
Deprecated endpoint. Instead use "join" in Group or "add-member" in Group as appropriate.
If the group's enrollment is open you can join it yourself.
If it is apply then you must create a PendingMember instead.
And if it is invite then you must be invited to join the group.
POST /api/member
Returns the same as a normal read.
GET /api/member/xxx
Returns:
{
"id" : "xxx",
"user_id" : "xxx",
...
}
PUT /api/member/xxx
Returns the same as a normal read.
DELETE /api/member/xxx
Returns:
{
"success" : 1
}
Only the group leader can promote another member to leader.
POST /api/member/xxx/promote/leader
There is no corresponding /demote/leader endpoint, because a Group must always have a leader, so a leader can only be replaced.
Returns the same as a normal read.
Only the group leader or a group director can promote another member to director.
POST /api/member/xxx/promote/director
Returns the same as a normal read.
Only the group leader or a group director can demote another director.
POST /api/member/xxx/demote/director
Returns the same as a normal read.