mirror of
https://github.com/blw1138/Zordon.git
synced 2026-06-09 13:39:24 -05:00
Remove unnecessary full_status and snapshot API endpoints
This commit is contained in:
-27
@@ -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>`
|
||||
|
||||
Reference in New Issue
Block a user