Interface MiaFileControllerApi

All Known Implementing Classes:
MiaFileController

@Generated(value="org.openapitools.codegen.languages.SpringCodegen", date="2025-09-12T07:58:33.608911692Z[Etc/UTC]") @Validated public interface MiaFileControllerApi
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>
    downloadFile(UUID projectId, UUID sessionId, String logFile)
    GET /rest/downloadFile/{projectId}/MIA_FILE_TYPE_LOG/{sessionId}/{logFile} Download file of execution
    org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>
    downloadFileFromUploads(UUID projectId, UUID sessionId, String logFile)
    GET /rest/downloadFile/{projectId}/MIA_FILE_TYPE_UPLOAD/{sessionId}/{logFile} Download file from uploads
    org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>
    downloadOutputAsZip(@NotNull @Valid UUID projectId, @NotNull @Valid UUID sessionId, @NotNull @Valid String processName, @Valid List<String> requestBody)
    POST /rest/downloadOutputAsZip downloadOutputAsZip
    org.springframework.http.ResponseEntity<String>
    handleFileUpload(@NotNull @Valid UUID projectId, @NotNull @Valid UUID sessionId, @Valid Boolean needDos2Unix, org.springframework.web.multipart.MultipartFile file)
    POST /rest/uploadFile Upload file for project.
    org.springframework.http.ResponseEntity<String>
    handleTestDataFileUpload(@NotNull @Valid UUID projectId, @Valid UUID sessionId, org.springframework.web.multipart.MultipartFile file)
    POST /rest/uploadTestDataFile handleTestDataFileUpload
  • Method Details

    • downloadFile

      @RequestMapping(method=GET, value="/rest/downloadFile/{projectId}/MIA_FILE_TYPE_LOG/{sessionId}/{logFile}", produces="application/octet-stream") org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadFile(@PathVariable("projectId") UUID projectId, @PathVariable("sessionId") UUID sessionId, @PathVariable("logFile") String logFile)
      GET /rest/downloadFile/{projectId}/MIA_FILE_TYPE_LOG/{sessionId}/{logFile} Download file of execution
      Parameters:
      projectId - projectId (required)
      sessionId - sessionId (required)
      logFile - logFile (required)
      Returns:
      OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
    • downloadFileFromUploads

      @RequestMapping(method=GET, value="/rest/downloadFile/{projectId}/MIA_FILE_TYPE_UPLOAD/{sessionId}/{logFile}", produces="application/octet-stream") org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadFileFromUploads(@PathVariable("projectId") UUID projectId, @PathVariable("sessionId") UUID sessionId, @PathVariable("logFile") String logFile)
      GET /rest/downloadFile/{projectId}/MIA_FILE_TYPE_UPLOAD/{sessionId}/{logFile} Download file from uploads
      Parameters:
      projectId - projectId (required)
      sessionId - sessionId (required)
      logFile - logFile (required)
      Returns:
      OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
    • downloadOutputAsZip

      @RequestMapping(method=POST, value="/rest/downloadOutputAsZip", produces="application/octet-stream", consumes="application/json") org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadOutputAsZip(@NotNull @Valid @RequestParam(value="projectId",required=true) @NotNull @Valid UUID projectId, @NotNull @Valid @RequestParam(value="sessionId",required=true) @NotNull @Valid UUID sessionId, @NotNull @Valid @RequestParam(value="processName",required=true) @NotNull @Valid String processName, @Valid @RequestBody @Valid List<String> requestBody)
      POST /rest/downloadOutputAsZip downloadOutputAsZip
      Parameters:
      projectId - projectId (required)
      sessionId - sessionId (required)
      processName - processName (required)
      requestBody - filePaths (required)
      Returns:
      OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
    • handleFileUpload

      @RequestMapping(method=POST, value="/rest/uploadFile", produces="application/json", consumes="multipart/form-data") org.springframework.http.ResponseEntity<String> handleFileUpload(@NotNull @Valid @RequestParam(value="projectId",required=true) @NotNull @Valid UUID projectId, @NotNull @Valid @RequestParam(value="sessionId",required=true) @NotNull @Valid UUID sessionId, @Valid @RequestParam(value="needDos2Unix",required=false) @Valid Boolean needDos2Unix, @RequestPart(value="file",required=false) org.springframework.web.multipart.MultipartFile file)
      POST /rest/uploadFile Upload file for project.
      Parameters:
      projectId - projectId (required)
      sessionId - sessionId (required)
      needDos2Unix - needDos2Unix (optional)
      file - file (optional)
      Returns:
      OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)
    • handleTestDataFileUpload

      @RequestMapping(method=POST, value="/rest/uploadTestDataFile", produces="application/json", consumes="multipart/form-data") org.springframework.http.ResponseEntity<String> handleTestDataFileUpload(@NotNull @Valid @RequestParam(value="projectId",required=true) @NotNull @Valid UUID projectId, @Valid @RequestParam(value="sessionId",required=false) @Valid UUID sessionId, @RequestPart(value="file",required=false) org.springframework.web.multipart.MultipartFile file)
      POST /rest/uploadTestDataFile handleTestDataFileUpload
      Parameters:
      projectId - projectId (required)
      sessionId - sessionId (optional)
      file - file (optional)
      Returns:
      OK (status code 200) or Created (status code 201) or Unauthorized (status code 401) or Forbidden (status code 403) or Not Found (status code 404)