Set and Retrieve Output Sound Level
# Set and Retrieve Output Sound Level
# Set Output Sound Level
Path:
/api/volume
Method: PUT
Content-type: application/json; charset=utf-8
API Description: This can be used to set the output sound level.
Request
| Name | Type | Example | Description |
|---|---|---|---|
| musicvolume | int | 10 | 16 output sound levels (0 to 15), with 15 indicating a volume of 100%. |
Example
{"musicvolume": 10}
# Retrieve Output Sound Level
Path:
/api/volume.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This can be used to retrieve the output sound level.
Response
| Name | Type | Example | Description |
|---|---|---|---|
| musicvolume | int | 10 | 16 output sound levels (0 to 15), with 15 indicating a volume of 100%. |
Example
{"musicvolume": 10}