Skip to content
Borja Gorriz edited this page Sep 23, 2013 · 5 revisions

Base URL: api/dime/rest/{mainSaId}/group

Method Path Description
GET @me/@all Returns a collection of all Groups the user is in.
POST @me Creates a new group.
GET @me/{Grpid} Returns a specific group.
POST @me/{Grpid} Updates a specific group.
DELETE @me/{Grpid} Deletes a specific group.

Parameters:

  • Grpid: Id of an specific group.

Examples:

  • Call: api/dime/rest/5b223cde-07e5-4987-b531-231876fa7601/group/@me/@all
  • Response:

{
   "response":{
      "meta":{
         "v":"0.9",
         "status":"OK",
         "code":200,
         "timeRef":"1338824999",
         "msg": ""
   },
   "data":{
      "startIndex":0,
      "itemsPerPage":2,
      "totalResults":2,
      "entry":{
          "guid": "<GroupId>",
          "created":1338824999,
          "lastModified":1338824999,
          "userId":"<userId>|@me",
          "name": "Friends",
          "imageUrl":"<imageUrl>",
          "type": "group",
          "items": [
              "person1",
              "person2",
              "person3"
           ],
           "nao:trustLevel":0.4,
        }
     }
}

Clone this wiki locally