Version 0.1

Get orgs for the current user

GET /orgs

Returns a list of orgs that the current user belongs to.

Response

A list of org objects.

Example

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

{
  "orgs": [
    {
      "orgId": 1,
      "name": "foo bar"
    },
    {
      "orgId": 2,
      "name": "hogwarts"
    }
  ]
}