Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
505efe02
Commit
505efe02
authored
Sep 23, 2015
by
Nimisha Asthagiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! course_api depth param not supported
parent
0eb88c0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
lms/djangoapps/course_api/blocks/serializers.py
+1
-1
lms/djangoapps/course_api/blocks/views.py
+2
-0
No files found.
lms/djangoapps/course_api/blocks/serializers.py
View file @
505efe02
...
...
@@ -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
...
...
lms/djangoapps/course_api/blocks/views.py
View file @
505efe02
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment