'Retrieves the usage_key for the requested course, and then returns the
same information that would be returned by BlocksView.list, called with
that usage key
Arguments:
request - Django request object'

def list(self, request):

    course_key_string = request.query_params.get('course_id', None)
    if (not course_key_string):
        raise ValidationError('course_id    is    required.')
    try:
        course_key = CourseKey.from_string(course_key_string)
        course_usage_key = modulestore().make_course_usage_key(course_key)
    except InvalidKeyError:
        raise ValidationError("'{}'    is    not    a    valid    course    key.".format(unicode(course_key_string)))
    return super(BlocksInCourseView, self).list(request, course_usage_key)
