GET /api/apps and /api/version return 404 — routes not registering #46
Labels
No labels
blocked:gate-plan
blocked:needs-decision
blocked:needs-human
blocked:no-changes
bug
feature-request
in-progress
ops-retry
ops-task
quickfix
security/high
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/node_hub#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Bug
GET
/api/appsand GET/api/versionboth return404 Not Founddespite route files (appRoutes.js,systemRoutes.js) defining these endpoints.Root Cause
The route registration functions (
registerAppRoutes,registerSystemRoutes) exported from the route files don't appear to be called in the maincreateServerpath inserver.js. Only the health endpoint (defined directly insystemRoutes.js) works, suggesting it's registered via a different code path.Evidence
GET /health→200 OK(works)GET /api/apps→404 Not Found(broken)GET /api/version→404 Not Found(broken)Impact
API server starts but none of the management endpoints respond. The node_hub is non-functional as an API.