file 가져오기 86 호출하는 거로 추가

This commit is contained in:
2026-02-11 16:49:48 +09:00
parent 3e39006822
commit 133ea6b1ba
2 changed files with 65 additions and 0 deletions

View File

@@ -237,4 +237,13 @@ public class DatasetApiController {
return ResponseEntity.ok().contentType(MediaType.APPLICATION_OCTET_STREAM).body(resource);
}
@Operation(summary = "객체별 파일 Path 조회", description = "파일 Path 조회")
@GetMapping("/files-to86")
public ResponseEntity<Resource> getFileTo86(
@RequestParam UUID uuid, @RequestParam String pathType) throws Exception {
String path = datasetService.getFilePathByUUIDPathType(uuid, pathType);
return datasetService.getFilePathByFile(path);
}
}