docs(website): add /api/v2 skeleton (PR 1 scaffold) #46
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/api-v2-skeleton"
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?
Adds
website/API_V2_SKELETON.md, the concrete scaffold for PR 1 in the v2 plan, and links it fromAPI_V2_PLAN.md(which merged in #45). Docs-only; two-file diff (new skeleton doc + a one-line forward link in the plan).What the skeleton covers
Stand up
router/v2/empty but wired next to a frozen/api/v1, with no behavior change:router/v2/file tree (domain-named capability routers + per-groupindex.js).api.router.js/v2.router.jswiring, incl. a trivialGET /api/v2/versionso the mount is testable before any real endpoint exists./api/v2/version→ 200, v1 untouched, tests green./internaldeliberately stays off the public tree (unpublished port), same as v1.Real endpoints, the auth merge, and Swagger regen are explicitly deferred to PR 2+.
Cross-links: the plan's PR-1 line now points here, and this doc points back to
API_V2_PLAN.mdfor Phases 1/1b/2.AI-assisted: authored with Claude (Claude Code). See the commit's
Co-Authored-Bytrailer.🤖 Generated with Claude Code
https://claude.ai/code/session_01NgyHnrNa8WwG3doxvxjuCr