Class IncidentQueryController
java.lang.Object
io.camunda.zeebe.gateway.rest.controller.IncidentQueryController
@CamundaRestQueryController
@RequestMapping("/v2/incidents")
public class IncidentQueryController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<IncidentItem> org.springframework.http.ResponseEntity<IncidentSearchQueryResponse>
-
Constructor Details
-
IncidentQueryController
-
-
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)
-