Get DND settings
Returns DND (Do not disturb) settings.
There is two modes:
- silent mode, when incoming call is visible on screen but sound is disabled
- dnd mode, when incoming call is skipped
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- enable_silent_mode_schedule boolean
- enable_dnd_mode_schedule boolean
- dnd_time_from string
- dnd_time_to string
- silence_time_from string
- silence_time_to string
{
"enable_silent_mode_schedule": false,
"enable_dnd_mode_schedule": false,
"dnd_time_from": "02:00",
"dnd_time_to": "05:00",
"silence_time_from": "22:00",
"silence_time_to": "01:00"
}
{
"enable_silent_mode_schedule": false,
"enable_dnd_mode_schedule": false,
"dnd_time_from": "02:00",
"dnd_time_to": "05:00",
"silence_time_from": "22:00",
"silence_time_to": "01:00"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...