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

1.3 KiB

id title status assignee created_date updated_date labels milestone dependencies priority status_history
TASK-25 Add server API proxy endpoints for new shapes Done
2026-02-18 19:49 2026-03-15 00:45
infrastructure
phase-1
server
m-0
high
status timestamp
Done 2026-03-15 00:45

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

All needed proxy endpoints exist. Shapes that don't need proxies: holon (local h3-js), transcription (browser API), obs-note (self-contained).