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

39 lines
1.1 KiB
Markdown

---
id: TASK-25
title: Add server API proxy endpoints for new shapes
status: To Do
assignee: []
created_date: '2026-02-18 19:49'
labels:
- infrastructure
- phase-1
- server
milestone: m-0
dependencies: []
references:
- rspace-online/server/index.ts
- canvas-website/src/shapes/ImageGenShapeUtil.tsx (API pattern reference)
priority: high
---
## Description
<!-- SECTION:DESCRIPTION:BEGIN -->
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.
<!-- SECTION:DESCRIPTION:END -->
## Acceptance Criteria
<!-- AC:BEGIN -->
- [ ] #1 All proxy endpoints return expected responses
- [ ] #2 WebSocket terminal endpoint accepts connections
- [ ] #3 Error handling and auth middleware applied
<!-- AC:END -->