Create Report
POST/api/v1/reports/
Create a new report.
Request
Query Parameters
project_id any
organization_id any
Cookie Parameters
session any
- multipart/form-data
Body
required
name Name (string)required
template_text Template Text (string)
template_instructions Template Instructions (string)
files binary[]required
template_file binary
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
id uuidrequired
The id of the report
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
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"
}
]
}