Class IncidentQueryController

java.lang.Object
io.camunda.zeebe.gateway.rest.controller.IncidentQueryController

@CamundaRestQueryController @RequestMapping("/v2/incidents") public class IncidentQueryController extends Object
  • Constructor Details

    • IncidentQueryController

      public IncidentQueryController(IncidentServices incidentServices)
  • Method Details

    • searchIncidents

      @PostMapping(path="/search", produces={"application/json","application/problem+json"}, consumes="application/json") public org.springframework.http.ResponseEntity<IncidentSearchQueryResponse> searchIncidents(@RequestBody(required=false) IncidentSearchQueryRequest query)
    • getByKey

      @GetMapping(path="/{incidentKey}", produces={"application/json","application/problem+json"}) public org.springframework.http.ResponseEntity<IncidentItem> getByKey(@PathVariable("incidentKey") Long incidentKey)