Volume¶
getVolume
¶
Command to get information about the volume.
Request¶
Only the name and the payload arguments will be described. General information can be found under Command General.
- Name:
getVolume
- Payload arguments: None
Response¶
Only the data
object will be described here.
To get information about the whole response, please refer to
Command General.
The data
object contains the following arguments:
total
: The maximum supported levelvolume
: The current set level
Example response
{
"total": 10,
"volume": 10
}
setVolume
¶
Command to set the volume.
Request¶
Only the name and the payload arguments will be described. General information can be found under Command General.
- Name:
setVolume
-
Payload arguments:
volume
: The level to set the volume to it
Example payload
{
"volume": 10
}
Response¶
No specific response expected, as this is a executing command. General information about responses can be found under rest.