Table Of Contents

Previous topic

Wi-Fi

Next topic

VPN Server [UNSTABLE]

System

System Config [UNSTABLE]

SystemConfig has the following attributes:

SystemConfig
firmware_version string Read-only

freebox firmware version

mac string Read-only

freebox mac address

serial string Read-only

freebox serial number

uptime string Read-only

readable freebox uptime

uptime_val int Read-only

freebox uptime (in seconds)

board_name string Read-only

freebox hardware revision

temp_cpum int Read-only

temp cpum (°C)

temp_sw int Read-only

temp sw (°C)

temp_cpub int Read-only

temp cpub (°C)

fan_rpm int Read-only

fan rpm

box_authenticated bool Read-only

is the box authenticated (“étape 6”)

System API

Get the current system info [UNSTABLE]

GET /api/v3/system/

Get the SystemConfig

Example request:

GET /api/v3/system/ HTTP/1.1
Host: mafreebox.freebox.fr

Example response:

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
    "success": true,
    "result": {
        "mac": "00:24:D4:00:00:00",
        "fan_rpm": 1552,
        "temp_sw": 42,
        "uptime": "19 heures 1 minute 46 secondes",
        "board_name": "fbxgw1r",
        "temp_cpub": 53,
        "temp_cpum": 51,
        "serial": "XXXXXXXXXXXXXXXX",
        "firmware_version": "2.0.0"
    }
}

Reboot the system

POST /api/v3/system/reboot/

Reboot the Freebox

Example request:

POST /api/v3/system/reboot/ HTTP/1.1
Host: mafreebox.freebox.fr

Example response:

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