rspace-online/backlog/tasks/task-25 - Add-server-API-pr...

1.5 KiB

id title status assignee created_date updated_date labels milestone dependencies references priority
TASK-25 Add server API proxy endpoints for new shapes Done
2026-02-18 19:49 2026-03-12 04:24
infrastructure
phase-1
server
m-0
rspace-online/server/index.ts
canvas-website/src/shapes/ImageGenShapeUtil.tsx (API pattern reference)
high

Description

Add API routes to server/index.ts for shapes that call external services:

  • POST /api/blender-gen — Proxy to Blender generation service
  • POST /api/mycrozine — Proxy for zine generation LLM calls
  • POST /api/fathom/* — Proxy to Fathom API (meeting transcripts)
  • POST /api/obsidian/* — Local Obsidian vault file operations
  • POST /api/holon/* — HoloSphere network queries
  • WebSocket endpoint for terminal sessions (Multmux)

Follow existing pattern from /api/image-gen endpoint.

Acceptance Criteria

  • #1 All proxy endpoints return expected responses
  • #2 WebSocket terminal endpoint accepts connections
  • #3 Error handling and auth middleware applied

Implementation Notes

Blender (POST /api/blender-gen), KiCAD (/api/kicad/:action), FreeCAD (/api/freecad/:action), and Zine (/api/zine/*) endpoints all implemented in server/index.ts. Remaining proxies (fathom, obsidian, holon, multmux) are blocked on backing service deployment — no code needed.