Version 0.1

Get members of an org

GET /orgs/:org-id/members

Returns the members of the org given by :org-id.

Response

An array of OrgMember objects.

Example

Request
GET /orgs/1/members?v=0.1
Host: api.deftask.com 
Response
200 OK
Content-Type: application/json

{
  "members": [
    {
      "role": "owner",
      "user": {
        "userId": 1,
        "name": "Chaitanya Gupta",
        "bio": "lorem ipsum dorem ",
        "thumbUrl": https://api.deftask.com/file/users/0AA921AE-3AD6-4D85-AFB7-BBD312F2E14B?v=0.1,
        "picUrl": https://api.deftask.com/file/users/4553FB79-9277-486C-882E-8C51FF4F0BD9?v=0.1
      }
    },
    {
      "role": "member",
      "user": {
        "userId": 2,
        "name": "zzz",
        "bio": null,
        "thumbUrl": https://api.deftask.com/static/images/avatar-placeholder.svg?v=0.1,
        "picUrl": null
      }
    },
    {
      "role": "member",
      "user": {
        "userId": 33587,
        "name": "New User 2",
        "bio": null,
        "thumbUrl": https://api.deftask.com/file/users/69E954D7-4C5D-4439-9C4F-A103212234E7?v=0.1,
        "picUrl": null
      }
    }
  ]
}