Class TurAssetAPI
java.lang.Object
com.viglet.turing.api.asset.TurAssetAPI
REST API for managing assets stored in MinIO.
- Since:
- 2026.1.14
- Author:
- Alexandre Oliveira
-
Constructor Summary
ConstructorsConstructorDescriptionTurAssetAPI(TurMinioService turMinioService, TurAssetTrainingService turAssetTrainingService, org.springframework.context.ApplicationEventPublisher eventPublisher) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> createFolder(String path) org.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> getTrainingRecords(List<String> objectNames) org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> org.springframework.http.ResponseEntity<TurAssetTrainingStatus> org.springframework.http.ResponseEntity<Void>
-
Constructor Details
-
TurAssetAPI
public TurAssetAPI(TurMinioService turMinioService, TurAssetTrainingService turAssetTrainingService, org.springframework.context.ApplicationEventPublisher eventPublisher)
-
-
Method Details
-
list
-
download
@GetMapping("/download") public org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> download(@RequestParam String objectName) -
preview
@GetMapping("/preview") public org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> preview(@RequestParam String objectName) -
metadata
-
upload
-
createFolder
-
delete
-
startTraining
@PostMapping("/train") public org.springframework.http.ResponseEntity<TurAssetTrainingStatus> startTraining() -
getTrainingStatus
-
getTrainingRecords
-