- API Reference
- Box API
- Network
Read the tail of the dongle DHCP-fix recovery log
Returns the last lines of the DHCP fix log written by the box's dongle recovery. lines outside 1–2000 falls back to 200.
GET
/get_dhcp_fix_logQuery parameters
linesintegeroptional
Number of lines (1–2000).
Default
200Example 200Authentication
Needs a trusted caller (loopback, LAN unless "force auth for local" is on, whitelisted IP, allowed Tailscale) or valid dashboard Basic credentials, which are checked only when dashboard authentication is enabled.
Responses
Log text.
statusbooleanoptional
msgstringoptional
datastringoptional
The caller is not trusted (not loopback, LAN, whitelisted or allowed Tailscale) and sent no valid Basic credentials. The body depends on whether "Basic auth for all API" is on. Routes that also use the panel login can answer a plain-text 401 "Unauthorized Access" instead.
Errors returned in msg
| msg | Meaning | What to do |
|---|---|---|
Failed to read DHCP fix log | Reading the log failed. | Retry; check the controller log. |