fixed comments

This commit is contained in:
lenacom
2016-03-10 11:21:06 +03:00
parent 23b617492c
commit 2f2c6fc5da
5 changed files with 18 additions and 19 deletions

View File

@@ -33,7 +33,7 @@ class BlocksView(DeveloperErrorViewMixin, ListAPIView):
&requested_fields=graded,format,student_view_multi_device,lti_url
&block_counts=video
&student_view_data=video
&block_type_filter=problem,html
&block_types_filter=problem,html
**Parameters**:
@@ -86,11 +86,11 @@ class BlocksView(DeveloperErrorViewMixin, ListAPIView):
Example: return_type=dict
* block_type_filter: (list) Requested types of blocks used to filter the final result
of returned blocks. Possible values include sequential,vertical, html, problem,
* block_types_filter: (list) Requested types of blocks used to filter the final result
of returned blocks. Possible values include sequential, vertical, html, problem,
video, and discussion.
Example: block_type_filter=vertical,html
Example: block_types_filter=vertical,html
**Response Values**
@@ -186,7 +186,7 @@ class BlocksView(DeveloperErrorViewMixin, ListAPIView):
params.cleaned_data.get('block_counts', []),
params.cleaned_data.get('student_view_data', []),
params.cleaned_data['return_type'],
params.cleaned_data.get('block_type_filter', None),
params.cleaned_data.get('block_types_filter', None),
)
)
except ItemNotFoundError as exception:
@@ -210,7 +210,7 @@ class BlocksInCourseView(BlocksView):
&requested_fields=graded,format,student_view_multi_device,lti_url
&block_counts=video
&student_view_data=video
&block_type_filter=problem,html
&block_types_filter=problem,html
**Parameters**: