class OperationsApiServiceImpl implements OperationsApiService {

    @Override
    public ResponseEntity<String> getOperationLogContent(String spaceGuid, String operationId, String logId) {
        try {
            String content = logsService.getLogContent(spaceGuid, operationId, logId);
            return ResponseEntity.ok()
                                 .body(content);
        } catch (FileStorageException e) {
            throw new ContentException(e, e.getMessage());
        }
    }

}