v1

latestOpenAPI 3.0.32026-07-17687987.2 KB
dhcp

Searches for an active DHCP server on the network

post/dhcp/find_active_dhcp

Request body

interfacestring

The name of the network interface

Example request

{
  "interface": "eth0"
}

Response

OK.

Example response

{
  "v6": {
    "other_server": {
      "found": "no",
      "error": ""
    }
  },
  "v4": {
    "static_ip": {
      "static": "yes",
      "ip": ""
    },
    "other_server": {
      "found": "no",
      "error": ""
    }
  }
}