Class FileController
java.lang.Object
com.moeen.file_manager.controller.FileController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<UploadUrlResponse> createUploadUrl(GatewayUser user, @Valid UploadUrlRequest request) org.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<Void> deleteFiles(List<UUID> ids) org.springframework.http.ResponseEntity<Void> org.springframework.http.ResponseEntity<FileResponse> org.springframework.http.ResponseEntity<List<FileResponse>> org.springframework.http.ResponseEntity<List<FileResponse>> listByEntity(String entityId)
-
Constructor Details
-
FileController
public FileController()
-
-
Method Details
-
getFile
@GetMapping("/{fileId}") public org.springframework.http.ResponseEntity<FileResponse> getFile(@PathVariable UUID fileId) -
fileExist
-
delete
-
getFiles
@GetMapping public org.springframework.http.ResponseEntity<List<FileResponse>> getFiles(@RequestParam List<UUID> ids) -
deleteFiles
-
listByEntity
@GetMapping("/entity/{entityId}") public org.springframework.http.ResponseEntity<List<FileResponse>> listByEntity(@PathVariable String entityId)