+ doc: /status

This commit is contained in:
Simon Zolin 2020-05-29 14:02:02 +03:00
parent aaa2b0f830
commit 82bd8dbbf2

View file

@ -12,6 +12,7 @@ Contents:
* Updating
* Get version command
* Update command
* API: Get global status
* TLS
* API: Get TLS configuration
* API: Set TLS configuration
@ -370,6 +371,27 @@ Error response:
UI shows error message "Auto-update has failed"
## API: Get global status
Request:
GET /control/status
Response:
200 OK
{
"dns_addresses":["..."],
"dns_port":53,
"http_port":3000,
"language":"en",
"protection_enabled":true,
"running":true,
"version":"undefined"
}
## Enable DHCP server
Algorithm: