Skip to content

Create Project

POST
/api/projects/
curl --request POST \
--url http://localhost:8080/api/projects/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "base_url": "example", "description": "example" }'
Media typeapplication/json
ProjectCreate
object
name
required
Name
string
base_url
required
Base Url
string
description
Any of:
string
Examplegenerated
{
"name": "example",
"base_url": "example",
"description": "example"
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}