Package io.camunda.optimize.rest
Class PublicApiRestService
java.lang.Object
io.camunda.optimize.rest.PublicApiRestService
@Validated
@RestController
@RequestMapping("/api/public")
public class PublicApiRestService
extends Object
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPublicApiRestService(JsonReportResultExportService jsonReportResultExportService, EntityExportService entityExportService, EntityImportService entityImportService, ReportService reportService, DashboardService dashboardService, ProcessVariableLabelService processVariableLabelService, SettingsService settingsService) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteDashboardDefinition(String dashboardId) voiddeleteReportDefinition(String reportId) voidvoidexportDashboardDefinition(Set<String> dashboardIds) exportReportData(String reportId, @Valid PaginationScrollableRequestDto paginationRequestDto) exportReportDefinition(Set<String> reportIds) getDashboardIds(String collectionId) getReportIds(String collectionId) importEntities(String collectionId, String exportedDtoJson) voidmodifyVariableLabels(@Valid DefinitionVariableLabelsDto definitionVariableLabelsDto)
-
Field Details
-
PUBLIC_PATH
- See Also:
-
EXPORT_SUB_PATH
- See Also:
-
IMPORT_SUB_PATH
- See Also:
-
REPORT_SUB_PATH
- See Also:
-
DASHBOARD_SUB_PATH
- See Also:
-
LABELS_SUB_PATH
- See Also:
-
DASHBOARD_EXPORT_DEFINITION_SUB_PATH
- See Also:
-
REPORT_EXPORT_DEFINITION_SUB_PATH
- See Also:
-
-
Constructor Details
-
PublicApiRestService
public PublicApiRestService(JsonReportResultExportService jsonReportResultExportService, EntityExportService entityExportService, EntityImportService entityImportService, ReportService reportService, DashboardService dashboardService, ProcessVariableLabelService processVariableLabelService, SettingsService settingsService)
-
-
Method Details
-
getReportIds
@GetMapping("/report") public List<IdResponseDto> getReportIds(@RequestParam(name="collectionId",required=false) String collectionId) -
getDashboardIds
@GetMapping("/dashboard") public List<IdResponseDto> getDashboardIds(@RequestParam(name="collectionId",required=false) String collectionId) -
exportReportData
@GetMapping("/export/report/{reportId}/result/json") public PaginatedDataExportDto exportReportData(@PathVariable("reportId") String reportId, @Valid @Valid PaginationScrollableRequestDto paginationRequestDto) -
exportReportDefinition
@PostMapping("/export/report/definition/json") public List<ReportDefinitionExportDto> exportReportDefinition(@RequestBody Set<String> reportIds) -
exportDashboardDefinition
@PostMapping("/export/dashboard/definition/json") public List<OptimizeEntityExportDto> exportDashboardDefinition(@RequestBody Set<String> dashboardIds) -
importEntities
@PostMapping("/import") public List<EntityIdResponseDto> importEntities(@RequestParam(name="collectionId",required=false) String collectionId, String exportedDtoJson) -
deleteReportDefinition
@DeleteMapping("/report/{reportId}") public void deleteReportDefinition(@PathVariable("reportId") String reportId) -
deleteDashboardDefinition
@DeleteMapping("/dashboard/{dashboardId}") public void deleteDashboardDefinition(@PathVariable("dashboardId") String dashboardId) -
modifyVariableLabels
@PostMapping("/variables/labels") public void modifyVariableLabels(@Valid @Valid DefinitionVariableLabelsDto definitionVariableLabelsDto)
-