diff --git a/lms/djangoapps/course_home_api/outline/v1/serializers.py b/lms/djangoapps/course_home_api/outline/v1/serializers.py index 88acc820fa..87442babdc 100644 --- a/lms/djangoapps/course_home_api/outline/v1/serializers.py +++ b/lms/djangoapps/course_home_api/outline/v1/serializers.py @@ -47,6 +47,7 @@ class CourseBlockSerializer(serializers.Serializer): 'icon': icon, 'id': block_key, 'lms_web_url': block['lms_web_url'] if enable_links else None, + 'resume_block': block.get('resume_block', False), 'type': block_type, }, } diff --git a/lms/djangoapps/course_home_api/outline/v1/views.py b/lms/djangoapps/course_home_api/outline/v1/views.py index 909bd8dd23..eef2b3d98c 100644 --- a/lms/djangoapps/course_home_api/outline/v1/views.py +++ b/lms/djangoapps/course_home_api/outline/v1/views.py @@ -81,6 +81,7 @@ class OutlineTabView(RetrieveAPIView): xBlock on the web LMS. children: (list) If the block has child blocks, a list of IDs of the child blocks. + resume_block: (bool) Whether the block is the resume block course_goals: goal_options: (list) A list of goals where each goal is represented as a tuple (goal_key, goal_string) selected_goal: