feat:AI 음성녹음 GCS 파일 다운로드 엔드포인트 추가

- GoogleCloudService에 downloadFromStorage 메서드 추가 (GCS REST API 사용)
- AiVoiceRecordingController에 download 메서드 추가 (스트림 응답)
- 다운로드 라우트 추가 (GET /{id}/download)
- 파일명은 제목 기반으로 생성, Content-Disposition 헤더 설정

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
김보곤
2026-02-07 13:51:09 +09:00
parent d121a319b3
commit fa14a9fbec
3 changed files with 85 additions and 0 deletions

View File

@@ -423,6 +423,7 @@
Route::post('/{id}/process', [AiVoiceRecordingController::class, 'processAudio'])->name('process');
Route::delete('/{id}', [AiVoiceRecordingController::class, 'destroy'])->name('destroy');
Route::get('/{id}/status', [AiVoiceRecordingController::class, 'status'])->name('status');
Route::get('/{id}/download', [AiVoiceRecordingController::class, 'download'])->name('download');
});
// 명함 OCR API