Merge pull request #24993 from edx/ciduarte/AA-368
AA-368: Surface resume_block in Outline Tab API
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user