Member

Manage the relationship between Users and Groups. Members are accessed via /api/member.

Properties

See "Object Properties" in Introduction for basic shared properties.

Complete details in MemberProperties.

Related Objects

See "Related Objects" in Introduction for how to use them.

group

The Group that controls member.

user

The User that controls member.

Services

The services used to fetch and manipulate members.

Search Members

Searching across all groups is no longer supported. To search on a single group see "Relationships" in Group.

Create Member

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
Required Params
group_id
user_id

Returns the same as a normal read.

Read Member

 GET /api/member/xxx

Returns:

 {
   "id" : "xxx",
   "user_id" : "xxx",
   ...
 }

Update Member

 PUT /api/member/xxx

Returns the same as a normal read.

Delete Member

 DELETE /api/member/xxx

Returns:

 {
   "success" : 1
 }

Promote Member

Only group leaders can make promotions.

 POST /api/member/xxx/promote
Required Params
position

Current valid options are director.

Demote Member

Only group leaders can make demotions.

 POST /api/member/xxx/promote
Required Params
position

Current valid options are director.