Commit 505efe02 by Nimisha Asthagiri

fixup! course_api depth param not supported

parent 0eb88c0e
......@@ -7,7 +7,7 @@ from rest_framework.reverse import reverse
from transformers import SUPPORTED_FIELDS
# TODO support depth parameter
# TODO support depth parameter (MA-1366)
class BlockSerializer(serializers.Serializer):
"""
Serializer for single course block
......
......@@ -52,6 +52,8 @@ class CourseBlocks(DeveloperErrorViewMixin, ListAPIView):
Example: depth=all
NOTE: This parameter is currently not honored or supported. For now, it only implements depth=all.
* return_type (string) Indicates in what data type to return the blocks.
Default is dict. Supported values are: dict, list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment