Remove unnecessary full_status and snapshot API endpoints

This commit is contained in:
Brett Williams
2026-06-06 08:21:23 -05:00
parent 3f0ec18d68
commit d60340f129
4 changed files with 0 additions and 72 deletions
-27
View File
@@ -281,29 +281,6 @@ Known callers:
- `RenderServerProxy.get_status()`
### `GET /api/snapshot`
Returns local status, all jobs, and a timestamp.
Known callers:
- `full_status()` internally.
Review note: no direct in-repo HTTP callers were found. It overlaps with
`/api/status` plus `/api/jobs`.
### `GET /api/full_status`
Returns a multi-server shaped status payload with the local server populated.
Known callers:
- `RenderServerProxy.get_full_status()`
- `dashboard.py`
Review note: this currently reports only the local server. The response shape
suggests an intended future aggregation point.
### `GET /api/presets`
Returns `config/presets.yaml`.
@@ -492,10 +469,6 @@ Review note: development/debug only.
## Redundancy and Cleanup Review
Likely redundant or overlapping routes:
- `/api/snapshot` overlaps with `/api/status` and `/api/jobs`. It is currently
used internally by `/api/full_status`.
Routes with no in-repo callers found:
- `GET /api/jobs/status/<status_val>`