Used internally by the configuration download and generate support file features to obtain the system section information /api/edge/partial.json?struct={"system": null}
this allows you to access just a specific section of the configuration.
To get the full configuration you can use /api/edge/partial.json
, /api/edge/partial.json?struct=null
or /api/edge/partial.json?struct={}
Table of Contents
GET /api/edge/partial.json?struct={"interfaces": null} Response
{"SESSION_ID": "742dfcc13b8d449aa36a4a1847bfcef7", "GET": {"interfaces": {"ethernet": {"eth0": {"address": ["dhcp"], "description": "WAN", "duplex": "auto", "firewall": {"in": {"name": "WAN_IN"}, "local": {"name": "WAN_LOCAL"}}, "speed": "auto"}, "eth1": {"address": ["192.168.0.254/24"], "description": "LAN", "duplex": "auto", "speed": "auto"}, "eth2": {"address": ["192.168.1.254/24"], "description": "LAN2", "duplex": "auto", "speed": "auto"}, "eth3": {"disable": null, "duplex": "auto", "speed": "auto"}}, "loopback": {"lo": null}}}, "success": true}