memonic

Groups Resource

The Groups resource represents all the groups of a user.

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

MethodPurpose
GET Returns a list of the user's groups.

GET

The GET method on the Groups resource returns a list of groups the user is a member of.

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 User was not found.

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

XML

<groups>
  <group order="0">
    <owner>group_owner</owner>
    <id>a_group_id</id>
    <user>user_id</user>
    <modified>2010-07-27T08:04:53</modified>
    <title>A group</title>
  </group>
  <group order="1">
    <!-- ... -->
  </group>
</groups>

JSON

{
  "groups": [
    {
      "owner": "group_owner", 
      "id": "group_id", 
      "user": "user_id", 
      "modified": "2010-07-27T08:04:53", 
      "title": "A group"
    }
  ]
}