Class UploadsController

java.lang.Object
org.tailormap.api.controller.UploadsController

@RestController @RequestMapping(path="/api/uploads/{category}/{id}/{filename}") public class UploadsController extends Object
  • Constructor Details

    • UploadsController

      public UploadsController(UploadRepository uploadRepository)
  • Method Details

    • getUpload

      @GetMapping public org.springframework.http.ResponseEntity<byte[]> getUpload(jakarta.servlet.http.HttpServletRequest request, @PathVariable String category, @PathVariable(name="id") String idString, @PathVariable(required=false) String filename)