Create project
POST
/projectsCreates an empty project for grouping related tasks.
Contract
Parameter | Value |
|---|---|
| Section | projects |
| Authentication | CookieAuth |
| Consumes | application/json |
| Produces | application/json |
Parameters
1 parameter
Name | Location | Required | Type | Description |
|---|---|---|---|---|
| request | body | yes | object | Project name and description |
{ "ID": 0, "description": "<string>", "name": "<string>" }
Responses
5 responses
Status | Description | Type |
|---|---|---|
200 | Response: {data: <new project id>} | object |
400 | Invalid request body | object |
401 | Unauthorized | object |
409 | Name is already in use | object |
500 | Internal server error | object |
{}{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }{ "data": {}, "error": "<string>" }