api/docs/project/create.md

25 lines
809 B
Markdown
Raw Normal View History

# `/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. |
### 403 - Error: Forbidden
Blocked for security reasons.
### 409 - Error: Conflict
The requested project name is already taken.