2023-08-18 16:05:12 +00:00
|
|
|
# `/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. |
|
2023-08-18 21:49:41 +00:00
|
|
|
### 400 - Error: Bad Request
|
|
|
|
The request was malformed.
|
2023-08-23 16:16:36 +00:00
|
|
|
### 401 - Error: Unauthorized
|
2023-09-10 11:44:51 +00:00
|
|
|
The provided access token doesn't allow you to perform this operation.
|
2023-08-18 16:05:12 +00:00
|
|
|
### 403 - Error: Forbidden
|
|
|
|
Blocked for security reasons.
|
|
|
|
### 409 - Error: Conflict
|
|
|
|
The requested project name is already taken.
|