Version 0.1
Get projects for current user
GET /projects
Returns a list of projects that the current user can access.
Response
An array of project objects.
Example
Request
GET /projects?v=0.1
Host: api.deftask.com
Response
200 OK
Content-Type: application/json
{
"projects": [
{
"projectId": 5,
"accountType": "user",
"accountId": 1,
"projectType": "private",
"name": "test3"
},
{
"projectId": 6,
"accountType": "org",
"accountId": 1,
"projectType": "private",
"name": "test4"
},
{
"projectId": 8,
"accountType": "org",
"accountId": 2,
"projectType": "private",
"name": "test5"
}
]
}