+ doc: /status
This commit is contained in:
@@ -12,6 +12,7 @@ Contents:
|
|||||||
* Updating
|
* Updating
|
||||||
* Get version command
|
* Get version command
|
||||||
* Update command
|
* Update command
|
||||||
|
* API: Get global status
|
||||||
* TLS
|
* TLS
|
||||||
* API: Get TLS configuration
|
* API: Get TLS configuration
|
||||||
* API: Set TLS configuration
|
* API: Set TLS configuration
|
||||||
@@ -370,6 +371,27 @@ Error response:
|
|||||||
UI shows error message "Auto-update has failed"
|
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
|
## Enable DHCP server
|
||||||
|
|
||||||
Algorithm:
|
Algorithm:
|
||||||
|
|||||||
Reference in New Issue
Block a user