API

All endpoints require an

api-key
header which can be generated and obtained from the app settings.

Audio

Audio

Change volume, and get information.

GET

Gets audio and device information.

Example

Request

GET /audio

Response

200 OK

{
    "current": {
        "muted": false,
        "volume": 100
    },
    "devices": [
        {
            "id": "HDAUDIO\\FUNC_01",
            "name": "Realtek High Definition Audio",
            "manufacturer": "Realtek",
            "revision": null,
            "driver": null,
            "default": null,
            "channel": null,
            "type": "",
            "in": null,
            "out": null,
            "status": "3"
        }
    ]
}

PUT

Control system audio.

Mute

Mutes your system audio.

Request

PUT /audio/mute

{
    "value": true
}

Response

200 OK

{
    "current": {
        "muted": true,
        "volume": 100
    },
    "devices": [
        ...
    ]
}

Volume

Sets the system volume to a percentage. Applicable range for value:

0-100
.

Request

PUT /audio/volume

{
    "value": 60
}

Response

200 OK

{
    "current": {
        "muted": false,
        "volume": 60
    },
    "devices": [
        ...
    ]
}

Volume Down

Lowers the system volume by a percentage. Applicable range for value:

0-100
.

Request

PUT /audio/volumedown

{
    "value": 10
}

Response

200 OK

{
    "current": {
        "muted": false,
        "volume": 40
    },
    "devices": [
        ...
    ]
}

Volume Up

Raises the system volume by a percentage. Applicable range for value:

0-100
.

Request

PUT /audio/volumeup

{
    "value": 10
}

Response

200 OK

{
    "current": {
        "muted": false,
        "volume": 50
    },
    "devices": [
        ...
    ]
}