Package io.camunda.optimize.rest
Class AlertRestService
java.lang.Object
io.camunda.optimize.rest.AlertRestService
@Validated
@RestController
@RequestMapping("/api/alert")
public class AlertRestService
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAlert(AlertCreationRequestDto toCreate, jakarta.servlet.http.HttpServletRequest request) voiddeleteAlert(String alertId, jakarta.servlet.http.HttpServletRequest request) voiddeleteAlerts(@NotNull List<String> alertIds, jakarta.servlet.http.HttpServletRequest request) voidupdateAlert(String alertId, AlertCreationRequestDto toCreate, jakarta.servlet.http.HttpServletRequest request)
-
Field Details
-
ALERT_PATH
- See Also:
-
-
Constructor Details
-
AlertRestService
-
-
Method Details
-
createAlert
@PostMapping public IdResponseDto createAlert(@RequestBody AlertCreationRequestDto toCreate, jakarta.servlet.http.HttpServletRequest request) -
updateAlert
@PutMapping("/{id}") public void updateAlert(@PathVariable("id") String alertId, @RequestBody AlertCreationRequestDto toCreate, jakarta.servlet.http.HttpServletRequest request) -
deleteAlert
@DeleteMapping("/{id}") public void deleteAlert(@PathVariable("id") String alertId, jakarta.servlet.http.HttpServletRequest request) -
deleteAlerts
-