Class ExportRestService

java.lang.Object
io.camunda.optimize.rest.ExportRestService

@Validated @RestController @RequestMapping("/api/export") public class ExportRestService extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getJsonReport

      @GetMapping("report/json/{reportId}/{fileName}") public org.springframework.http.ResponseEntity<List<ReportDefinitionExportDto>> getJsonReport(@PathVariable("reportId") String reportId, @PathVariable("fileName") String fileName, jakarta.servlet.http.HttpServletRequest request)
    • getJsonDashboard

      @GetMapping("dashboard/json/{dashboardId}/{fileName}") public org.springframework.http.ResponseEntity<List<OptimizeEntityExportDto>> getJsonDashboard(@PathVariable("dashboardId") String dashboardId, @PathVariable("fileName") String fileName, jakarta.servlet.http.HttpServletRequest request)
    • getCsvReport

      @GetMapping(path="csv/{reportId}/{fileName}", produces={"application/octet-stream","application/json"}) public org.springframework.http.ResponseEntity<byte[]> getCsvReport(@PathVariable("reportId") String reportId, @PathVariable("fileName") String fileName, jakarta.servlet.http.HttpServletRequest request)
    • getRawDataCsv

      @PostMapping(path="csv/process/rawData/{fileName}", produces={"application/octet-stream","application/json"}) public org.springframework.http.ResponseEntity<byte[]> getRawDataCsv(@PathVariable("fileName") String fileName, @Valid @RequestBody @Valid ProcessRawDataCsvExportRequestDto request, jakarta.servlet.http.HttpServletRequest servletRequest)
      This endpoint returns only the columns specified in the includedColumns list in the request. All other columns (dto fields, new and existing variables not in includedColumns) are to be excluded. It is used for example to return process instance Ids in the branch analysis export.