diff --git a/AGHTechDoc.md b/AGHTechDoc.md index fbfad586..1562b354 100644 --- a/AGHTechDoc.md +++ b/AGHTechDoc.md @@ -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: