Add maintenance API endpoints
This commit is contained in:
@@ -12,8 +12,12 @@ Control surfaces:
|
||||
|
||||
| Feature | USB Serial | UART JSON | HTTP API | Notes |
|
||||
|---|---:|---:|---:|---|
|
||||
| Health | No | No | Yes | `/api/v1/health` is lightweight HTTP liveness |
|
||||
| Capabilities | No | No | Yes | `/api/v1/capabilities` supports client discovery |
|
||||
| Status | Yes | Yes | Yes | `/api/v1/status` equals `status_request` |
|
||||
| Config view | Yes | Yes | Yes | `/api/v1/config` equals `config_request` |
|
||||
| Config export | No | No | Yes | `/api/v1/config/export` includes WiFi passwords |
|
||||
| Config import | No | No | Yes | `/api/v1/config/import` persists restored config |
|
||||
| Relay control | Yes | Yes | Yes | Preferred HTTP endpoint is `POST /api/v1/relay/set` |
|
||||
| Device name config | Yes | Yes | Yes | `devicename`, `config_device`, `/api/v1/config/device` |
|
||||
| Relay config | Yes | Yes | Yes | `relayname`, `config_relay`, `/api/v1/config/relay` |
|
||||
|
||||
Reference in New Issue
Block a user