📝 fix: remove non-existent gateway diagnostic endpoint #60
Loading…
Reference in a new issue
No description provided.
Delete branch "remove-gateway-diagnostic-doc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Removes
GET /api/gateways/{gatewayId}/diagnosticfrom the gateway endpoint list indocs/energy.comwatt.com/devices.md, and drops the corresponding roadmap item.Why (re-verified live 2026-09-06)
GET /api/gateways/359/diagnostic(numeric id) → 404No static resource api/gateways/359/diagnostic.GET /api/gateways/BXCCBB77D9/diagnostic(uid) → same 404GET /api/gateways/359→ 200 (session and id valid)The route does not exist server-side. The current SPA bundle (
main.155e4f16.js, newer than the one the roadmap note was written against) does containapi/gateways/${id}/diagnosticas a fetcher (module exportkJ), but it is dead code:fetch_gateway_diagnostic_operationoccurs once, built via the comma operator and discarded, wired to no component.Docs-only change — no client code or tests reference the endpoint. 133 tests pass.
GET /api/gateways/{gatewayId}/diagnostic returns 404 'No static resource' live (re-verified 2026-09-06 on the probe account, numeric id and uid alike, while GET /api/gateways/{id} answers 200). The current SPA bundle (main.155e4f16.js) does contain the call but only as dead code — the fetch_gateway_diagnostic_operation is built and discarded, wired to no component. Drop the line from devices.md and the roadmap item.WIP: 📝 fix: remove non-existent gateway diagnostic endpointto 📝 fix: remove non-existent gateway diagnostic endpoint