@ApiResponse(code = 400, message = "Type is exclusive and already has input running")
})
public Response create(@ApiParam(name = "JSON body", required = true) String body) throws ValidationException {
checkPermission(RestPermissions.INPUTS_CREATE);
InputLaunchRequest lr;
try {
lr = objectMapper.readValue(body, InputLaunchRequest.class);
} catch(IOException e) {
LOG.error("Error while parsing JSON", e);
throw new BadRequestException(e);