Set custom updates server address
Set custom updates server address. Server used in projects with custom firmware, when customer want to block updates from general server and allow only from own server.
- application/json
Request Body required
- enable boolean required
Default value:
false
Use custom server?
- custom_server_url string
Server URL
- 200
- 400
- 401
OK
Data validation error
- application/json
- Schema
- Example (from schema)
Schema
error object
object containing info about error
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]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 stringextended info on error
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
object containing info about error
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]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 stringextended info on error
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}