def METHOD_NAME(self, request, session_id, *args):
    try:
        session = HarvestSession.objects.METHOD_NAME(
            id=session_id
        )
    except HarvestSession.DoesNotExist:
        raise Http404('No session found')
    session_data = {
        'module_group': session.module_group.name,
        'finished': session.finished,
        'start_time': str(session.start_time),
        'status': session.status
    }
    with open(session.log_file.path, 'rb') as f:
        session_data['log'] = b''.join(
            list(deque(f, 50))).decode('utf-8')
    return Response(session_data)