memonic

Group Resource

The Group resource represents an individual group.

Resource URL: https://api.memonic.com/v2/users/{user_id}/groups/{group_id}?apikey={yourkey}

MethodPurpose
GET Returns information about the group.

GET

The GET method on the Group resource returns information about the group.

Response

Status codes

The following response status codes can be returned.

CodeReason
200 All good. Response body is enclosed.
401 Not logged in or invalid Authorization header.
404 The group was not found.

In case of a successful 200 response the following output is returned:

XML

<group>
  <link href="https://api.memonic.com/v2/users/user_id/groups/a_group_id.xml?apikey=yourkey" order="0" rel="self"/>
  <picture>http://example.com/group.png</picture>
  <description>Description of the group</description>
  <title>A group</title>
  <modified>2011-02-18T16:08:23</modified>
  <user>user_id</user>
  <owner>user_id</owner>
  <id>a_group_id</id>
  <mode>private</mode>
</group>

JSON

{
  "picture": "http://example.com/group.png", 
  "description": "Description of the group", 
  "title": "A group", 
  "modified": "2011-02-18T16:08:23", 
  "user": "user_id", 
  "owner": "user_id", 
  "id": "a_group_id", 
  "mode": "private"
}

Some notable response fields:

FieldDescription
picture The picture for this group, like a gravatar. This can't actually be set, yet.
mode The group mode. This is always private at the moment, but public groups will be possible in the future.