Mindblower API
Backend for the Mindblower iOS app: auth, recording storage, speech-to-text, and Lark sync.
| POST /api/auth/register | Create an account (requires INVITE_CODE) |
| POST /api/auth/login | Email + password → access/refresh tokens |
| POST /api/auth/refresh | Rotate a refresh token |
| POST /api/auth/logout | Revoke a refresh token |
| GET /api/auth/me | Current user |
| POST /api/transcribe | Stateless speech-to-text (multipart `file`) |
| GET /api/recordings | List recordings |
| POST /api/recordings | Upload audio, store, transcribe, summarize |
| GET /api/recordings/:id | Recording + transcript |
| PATCH /api/recordings/:id | Edit title / transcript |
| DELETE /api/recordings/:id | Delete recording + audio |
| GET /api/recordings/:id/audio | Signed audio download |
| GET /api/lark/connect | Start Lark OAuth (user token) |
| POST /api/recordings/:id/lark/minutes | Push audio to Lark Minutes (妙记) |
| POST /api/recordings/:id/lark/doc | Create a Lark Doc from the transcript |
| GET /api/health | Health + provider configuration |