state_volume

🟢 Stable

This API is stable since festivald v1.0.0.


Retrieve the current volume level.

Inputs

None

Outputs

FieldTypeDescription
volumeunsigned integer in between 0..100The current volume level

Example Request

festival-cli state_volume
curl http://localhost:18425 -d '{"jsonrpc":"2.0","id":0,"method":"state_volume"}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "volume": 25
  },
  "id": 0
}