diff --git a/frontend/src/pages/engineering/developer/ApiReferencePage.jsx b/frontend/src/pages/engineering/developer/ApiReferencePage.jsx index 6fe3e50..fc68567 100644 --- a/frontend/src/pages/engineering/developer/ApiReferencePage.jsx +++ b/frontend/src/pages/engineering/developer/ApiReferencePage.jsx @@ -779,9 +779,9 @@ const NAMESPACES = [ cmd: 'network.info', handler: 'NetworkHandler', transports: ['All'], - description: 'Get IP address, gateway, and DNS.', + description: 'Get full network addressing details. Use this to populate the network panel in the console — covers all static/configured facts about the connection.', contents: null, - response: '{\n "status": "SUCCESS",\n "type": "network.info",\n "data": {\n "ip": "10.0.0.3",\n "gateway": "10.0.0.1",\n "dns": "8.8.8.8"\n }\n}', + response: '{\n "status": "SUCCESS",\n "type": "network.info",\n "data": {\n "ip": "10.0.0.3",\n "subnet": "255.255.255.0",\n "gateway": "10.0.0.1",\n "dns": "8.8.8.8",\n "mac": "AA:BB:CC:DD:EE:FF",\n "hostname": "vesper-lab",\n "ssid": "BellSystemsInfra",\n "connection_type": "WIFI"\n }\n}\n\n// connection_type: WIFI | ETHERNET | AP', errors: [], example: '{ "v": 2, "cmd": "network.info" }', warning: null, @@ -790,9 +790,9 @@ const NAMESPACES = [ cmd: 'network.status', handler: 'NetworkHandler', transports: ['All'], - description: 'Get full connection state including SSID, MAC, hostname, RSSI, and AP mode flag.', + description: 'Get live runtime network state — connection health, signal strength, and uptime. Use this for monitoring and polling, not for panel display.', contents: null, - response: '{\n "status": "SUCCESS",\n "type": "network.status",\n "data": {\n "connected": true,\n "state": "CONNECTED_WIFI",\n "type": "WIFI",\n "ip": "10.0.0.3",\n "rssi": -62,\n "ap_mode": false,\n "ssid": "BellSystemsInfra",\n "mac": "AA:BB:CC:DD:EE:FF",\n "hostname": "vesper-lab"\n }\n}\n\n// Possible state values: DISCONNECTED | CONNECTING | CONNECTED_WIFI | CONNECTED_ETHERNET | RECONNECTING | AP_MODE\n// Possible type values: WIFI | ETHERNET | AP | NONE', + response: '{\n "status": "SUCCESS",\n "type": "network.status",\n "data": {\n "connected": true,\n "ap_mode": false,\n "rssi": -62,\n "uptime_ms": 3600000,\n "state": "CONNECTED_WIFI"\n }\n}\n\n// state: DISCONNECTED | CONNECTING | CONNECTED_WIFI | CONNECTED_ETHERNET | RECONNECTING | AP_MODE', errors: [], example: '{ "v": 2, "cmd": "network.status" }', warning: null,