install

Checks configuration

post/install/check_config

Request

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

Request body

set_static_ipboolean

Example request

{
  "set_static_ip": false,
  "web": {
    "port": 53,
    "ip": "127.0.0.1",
    "autofix": false
  },
  "dns": {
    "port": 53,
    "ip": "127.0.0.1",
    "autofix": false
  }
}

Response

OK.

Example response

{
  "static_ip": {
    "static": "no",
    "ip": "192.168.1.1",
    "error": "error"
  },
  "web": {
    "can_autofix": false,
    "status": "status"
  },
  "dns": {
    "can_autofix": false,
    "status": "status"
  }
}

Changes

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