UPnP AV

The UPnP AV API allow you to control the settings of the Freebox UPnP AV service.

UPnP AV Errors

When attempting to access the UPnP AV API, you may encounter the following errors:

error_code Description
internal_error internal error

UPnP AV Config

UPnPAVConfig has the following attributes:

UPnPAVConfig
enabled bool

is the UPnP AV service enabled

UPnP AV config API

Get the current UPnP AV configuration

GET /api/v4/upnpav/config/

Get the UPnPAVConfig

Example request:

GET /api/v4/upnpav/config/ HTTP/1.1
Host: mafreebox.freebox.fr

Example response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
    "success": true,
    "result": {
        "enabled": true
    }
}

Update the UPnP AV configuration

PUT /api/v4/upnpav/config/

Update the UPnPAVConfig

Example request:

PUT /api/v4/upnpigd/config/ HTTP/1.1
Host: mafreebox.freebox.fr
{
   "enabled": false
}

Example response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
    "success": true,
    "result": {
        "enabled": false
    }
}