docs(api-reference): accuracy pass vs real router + dedup Audit Ledger #68
Reference in New Issue
Block a user
Delete Branch "docs/api-reference-accuracy"
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?
Diffed every documented endpoint against the real route table in
workspace-server/internal/router/router.go(174 routes, group prefixes resolved). Found 5 documented endpoints that don't exist + a duplicated section:DELETE /workspaces/:id/memories/:idDELETE /workspaces/:id/v2/memories/:memoryIdGET /v2/namespaces,GET /v2/memories)GET /workspaces/:id/shared-contextGET /admin/workspaces/:id/test-tokenPOST /admin/workspaces/:id/tokensPOST /workspaces/:id/expand+/collapse## Audit Ledgersections#audit-ledgeranchor, conflicting schemasAlso added the real
GET/PUT /workspaces/:id/model+/providerto Configuration (were missing).Verification: documented-vs-router diff = 0 stale; no duplicate H2 headings;
npm run buildgreen.Scope note: ~60 admin/internal/canvas/terminal routes remain intentionally undocumented — a separate completeness effort, not this accuracy fix. The api-reference split follows in a separate PR on top of this.
Accuracy verified: documented endpoints diffed against router.go (174 routes); 5 stale fixed, audit-ledger dedup, 0 stale remaining. LGTM.