Projects
List projects
List the authenticated user’s projects:
GET /user/projects
Response
[
{
"id" : 3,
"name" : "Web Standards Sherpa",
"description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
"shots_count" : 4,
"created_at" : "2011-04-14T03:43:47Z",
"updated_at" : "2012-04-04T22:39:53Z"
}
]
Create a project
POST /projects
Parameters
Name |
Type |
Description |
name |
string |
Required The name of the project. |
description |
string |
The project description. |
Response
{
"id" : 3,
"name" : "Web Standards Sherpa",
"description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
"shots_count" : 4,
"created_at" : "2011-04-14T03:43:47Z",
"updated_at" : "2012-04-04T22:39:53Z"
}
Update a project
PUT /projects/:id
Parameters
Name |
Type |
Description |
name |
string |
The name of the project. |
description |
string |
The project description. |
Response
{
"id" : 3,
"name" : "Web Standards Sherpa",
"description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
"shots_count" : 4,
"created_at" : "2011-04-14T03:43:47Z",
"updated_at" : "2012-04-04T22:39:53Z"
}
Delete a project
DELETE /projects/:id
Response
{
"id" : 3,
"name" : "Web Standards Sherpa",
"description" : "I did visual design and art direction for this project, working with the <a href=\"http://webstandards.org\">Web Standards Project</a> and Microsoft.",
"shots_count" : 4,
"created_at" : "2011-04-14T03:43:47Z",
"updated_at" : "2012-04-04T22:39:53Z"
}