Get custom firmware updates server settings
Get custom firmware updates server settings.
Can be used if the user has custom features and does not want to receive general updates.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
- is_enabled boolean
Determines if system uses the custom server for firmware update
- url url
URL of the custom server that has firmware for update. Parameter required only if is_enabled is true.
{
"is_enabled": true,
"url": "http://cdn.local/bas-ip/updates/"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Error object, contains error details
code stringPossible values: [
invalid_authentication,permission_denied,not_valid,system_error,bad_request,connection_timeout]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringContains validation error details
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Invalid authentication"
}
}
Loading...