3.3 Audio

Getting current settings

Get the current Audio settings. 

URL:

https://{{ip_addr}}/api/v1/audio

HTTP method:

GET

Response code:

Standard HTTP response code, treating syntactic errors.

Response data:

{
    "data": {
        "alarmsVolume": 86,
        "musicVolume": 73,
        "ringtoneVolume": 71
    }
}

Section setting

URL:

https://{{ip_addr}}/api/v1/audio

HTTP method:

PUT

Response code:

Standard HTTP response code, treating syntactic errors.

Request body:
{ 
   "alarmsVolume":5,
   "musicVolume":15,
   "ringtoneVolume":10
}

Response data:

{
    "data": {
        "alarmsVolume": 0,
        "musicVolume": 13,
        "ringtoneVolume": 14
    }
}