get-volume-config
Use the interface to get volume information.
Request Mode
POST http://ip/mwapi/get-volume-config
Response Body
{
"status": 0,
"output": [
{
"id": 1,
"db": 0,
"mute": false
}
],
"input": [
{
"id": 11,
"db": 0,
"mute": false
},
{
"id": 14,
"db": 0,
"mute": false
},
{
"id": 17,
"db": 0,
"mute": false
},
{
"id": 18,
"db": 0,
"mute": false
},
{
"id": 12,
"db": 0,
"mute": false
},
{
"id": 13,
"db": 0,
"mute": false
},
{
"id": 19,
"db": 0,
"mute": false
},
{
"id": 21,
"db": 0,
"mute": false
}
]
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
id | 1: Output; 11: Mic; 12: HDMI 1; 13: HDMI 2; 14: BGM; 15: Video in layer 1; 16: Video in layer 2; 17: USB-C; 18: Line in; 19: USB Camera; 21: Web page |
output | The output volume list |
input | The input volume list |