Version 0.1

Get projects of an org

GET /orgs/:org-id/projects

Returns the projects of an organization.

Response

An array of project objects.

Example

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

{
  "projects": [
    {
      "projectId": 6,
      "name": "test4",
      "accountType": "org",
      "accountId": 1
    },
    {
      "projectId": 24,
      "name": "test5",
      "accountType": "org",
      "accountId": 1
    },
    {
      "projectId": 91,
      "name": "test6",
      "accountType": "org",
      "accountId": 1
    }
  ]
}