Group

Groups of gamers get together and put on Gatherings and Conventions. Groups are accessed via /api/group.

Properties

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

Complete details in GroupProperties.

Related Objects

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

geolocation

The GeoLocation where this group hails from.

leader

The User that has absolute authority over this group.

Relationships

See "Relationships" in Introduction for how to use them.

conventions

The list of Conventions created by this group.

images

The list of GroupImages uploaded by this group.

invitedmembers

InvitedMembers maintains the list of email addresses that have been invited to join this group.

ledgerentries

The list of LedgerEntrys for transactions created by this group.

members

Member relates Users to this group.

pendingmembers

PendingMember relates Users that have applied to be a Member of this group.

Services

The services used to fetch and manipulate groups.

Search Groups

 GET /api/group

Returns:

 {
    "paging" : {...},
    "items" : [
        {
          "id" : "xxx",
          "name" : "Madison Area Game Designers",
          ...
        },
        ...
    ]
 }

Create Group

 POST /api/group
Required Params
geolocation_id
leader_id
name

Returns the same as a normal read.

Read Group

 GET /api/group/xxx

Returns:

 {
   "id" : "xxx",
   "name" : "Madison Area Game Designers",
   ...
 }

Update Group

 PUT /api/group/xxx

Returns the same as a normal read.

Delete Group

 DELETE /api/group/xxx

Returns:

 {
   "success" : 1
 }

Read A User's Membership

The second xxx represents the user's ID.

 GET /api/group/xxx/membership/xxx

Read A User's Pending membership

The second xxx represents the user's ID.

 GET /api/group/xxx/pending-membership/xxx