class DetectorController {

    @PostMapping(path = "/updateDetectorLastUsed", consumes = "application/json", produces = "application/json")
    @ResponseStatus(HttpStatus.OK)
    public void updatedDetectorLastUsed(@RequestBody Map<String, String> params) {
        service.updateDetectorLastUsed(params.get("detectorUuid"));
    }

}