class LegacyDetectorController {

    @PutMapping
    @ResponseStatus(HttpStatus.OK)
    public void updateDetector(@RequestParam String uuid, @RequestBody DetectorDocument document) {
        detectorRepo.updateDetector(uuid, document);
    }

}