install

Gets the network interfaces information.

get/install/get_addresses

Request

  • Base URL
    /control (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP basic

Response

OK.

dns_portinteger required
interfacesobject required

Network interfaces dictionary, keys are interface names.

versionstring required
web_portinteger required

Example response

{
  "interfaces": {
    "key": {
      "hardware_address": "52:54:00:11:09:ba",
      "ip_addresses": [
        "ip_addresses",
        "ip_addresses"
      ],
      "flags": "up|broadcast|multicast",
      "name": "eth0",
      "mtu": 0
    }
  },
  "web_port": 80,
  "dns_port": 53,
  "version": "v0.123.4"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.