Add Project
POST/v2/projects/
Create a new project.
Args: proj (ProjectName): The project name.
Returns: Project: The added project.
Request
- application/json
Body
required
name Name (string)required
Possible values: non-empty
and <= 100 characters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id Id (string)required
name Name (string)required
{
"id": "string",
"name": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...