Create Event
POST/events/:camera_name/:label/create
Create Event
Request
Path Parameters
camera_name Camera Namerequired
label Labelrequired
- application/json
Body
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
source_type
object
anyOf
string
sub_label
object
anyOf
string
score
object
anyOf
integer
duration
object
anyOf
integer
include_recording
object
anyOf
boolean
draw
object
anyOf
object
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
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...