Get NTP Settings
Returns NTP Settings
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- custom_server hostname
NTP server address
- enabled boolean
Default value:
true
Allows time setting via ntp
{
"custom_server": "pool.0.ntp.org",
"enabled": true
}
{
"custom_server": "pool.0.ntp.org",
"enabled": true
}
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"
}
}
Loading...