githubteacher / githubteacher/furry-computing-machine

Backend: Scan processing and anchor management endpoints

オープン
#201 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
3
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

Implement backend API endpoints to support the scan lifecycle, including:
- POST /api/scans/request-upload: Initiate scan record, return upload targets.
- POST /api/scans/:id/upload: Accept/upload scan file (GLB/USDZ, demo endpoint or S3 presign pattern).
- POST /api/scans/:id/complete: Mark scan as ready for AI processing.
- GET /api/scans/:id: Fetch scan metadata, anchor points, and preview URLs.
- POST /api/anchors/:anchorId/link: Attach item to an anchor.
- POST /api/scans/:id/anchors: List/add anchors for scans.

Requirements:
- Local (demo) storage and S3-ready abstraction for uploads.
- Basic in-memory or DB persistence for scans and anchors.
- Validate uploads, return errors if missing or wrong format files.
- Clear error handling and status fields (draft, uploaded, processed, error).

Acceptance:
- All REST API endpoints as described.
- Proper error responses and lifecycle transitions.
- Demo runs in Docker Compose with ai service.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。