Skip to content

API Mesh

Julien Brochet edited this page Mar 10, 2020 · 5 revisions

List of endpoints available in the API Mesh.


get_network_wanstatus

Get the WAN interface status.

result = client.mesh.get_network_wanstatus()
{
    "wan_connected": true
}

network_wifidevice

Get the list of all devices connected to the Wi-Fi.

result = client.mesh.network_wifidevice()
[
    {
        "band": "[...]",
        "connection": "[...]",
        "current_rate": [...],
        "hostname": "[...]",
        "is_guest": false,
        "mac": "[...]",
        "max_rate": [...],
        "mesh_node_id": [...],
        "netif": "[...]",
        "rate_quality": "[...]",
        "signalstrength": [...],
        "transferRX": [...],
        "transferRX_rate": [...],
        "transferTX": [...],
        "transferTX_rate": [...]
    },
    [...]
]

get_network_wifidevice

Get the SRM system info.

result = client.mesh.get_network_wifidevice()
{
    'nodes': [
        {
            'firmware_ver': 'SRM 1.2-7742 Update 5',
            'is_re': False,
            'model': 'RT2600ac',
            'node_id': 0,
            'sn': '176XXXXXX01',
            'unique': 'synology_ixxx6x_rt2600ac',
            'uptime': 1833868
        }
    ],
    'total': 1
}
Clone this wiki locally