29 lines
966 B
Markdown
29 lines
966 B
Markdown
# `/project/create` - POST
|
|
Creates a new project.
|
|
|
|
## HTTP Headers
|
|
| Header | Content |
|
|
|---------------|--------------------|
|
|
| Authorization | `Bearer {token}` |
|
|
| Content-Type | `application/json` |
|
|
|
|
## Content - JSON
|
|
| Field | Description |
|
|
|-------------|-----------------------------------------------|
|
|
| name | The name of the project to be created. |
|
|
| description | The description of the project to be created. |
|
|
|
|
## Responses
|
|
### 200 - Success
|
|
__Content - JSON:__
|
|
| Field | Description |
|
|
|-------|---------------------------------|
|
|
| id | The created projects unique id. |
|
|
### 400 - Error: Bad Request
|
|
The request was malformed.
|
|
### 401 - Error: Unauthorized
|
|
The provided access token doesn't allow you to perfrom this operation.
|
|
### 403 - Error: Forbidden
|
|
Blocked for security reasons.
|
|
### 409 - Error: Conflict
|
|
The requested project name is already taken. |