Set camera mode
Setup camera mode:
- qr_reader (with RTSP)
- rtsp_server
- application/json
Request Body
- mode string required
Possible values: [
qr_reader
,rtsp_server
]schema describes camera mode settings
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Base
- Wrong mode
Schema
- error string
error type/info
{
"error": true
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong mode"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...