@@ -5847,7 +5847,7 @@ paths:
5847
5847
operationId : grades_v1_submission_history_read
5848
5848
description : |-
5849
5849
Get submission history details. This submission history is related to only
5850
- ProblemBlock and it doesn't support LibraryContentBlock or ContentLibraries
5850
+ ProblemBlock and it doesn't support LegacyLibraryContentBlock or ContentLibraries
5851
5851
as of now.
5852
5852
5853
5853
**Usecases**:
@@ -7047,6 +7047,25 @@ paths:
7047
7047
in : path
7048
7048
required : true
7049
7049
type : string
7050
+ /mobile/{api_version}/users/{username}/enrollments_status/ :
7051
+ get :
7052
+ operationId : mobile_users_enrollments_status_list
7053
+ description : Gets user's enrollments status.
7054
+ parameters : []
7055
+ responses :
7056
+ ' 200 ' :
7057
+ description : ' '
7058
+ tags :
7059
+ - mobile
7060
+ parameters :
7061
+ - name : api_version
7062
+ in : path
7063
+ required : true
7064
+ type : string
7065
+ - name : username
7066
+ in : path
7067
+ required : true
7068
+ type : string
7050
7069
/notifications/ :
7051
7070
get :
7052
7071
operationId : notifications_list
@@ -9868,7 +9887,94 @@ paths:
9868
9887
required : true
9869
9888
type : string
9870
9889
pattern : ^[a-zA-Z0-9\-_]*$
9871
- /xblock/v2/xblocks/{usage_key_str}/ :
9890
+ /xblock/v2/xblocks/{usage_key}/ :
9891
+ get :
9892
+ operationId : xblock_v2_xblocks_read
9893
+ summary : Get metadata about the specified block.
9894
+ description : |-
9895
+ Accepts the following query parameters:
9896
+
9897
+ * "include": a comma-separated list of keys to include.
9898
+ Valid keys are "index_dictionary" and "student_view_data".
9899
+ parameters : []
9900
+ responses :
9901
+ ' 200 ' :
9902
+ description : ' '
9903
+ tags :
9904
+ - xblock
9905
+ parameters :
9906
+ - name : usage_key
9907
+ in : path
9908
+ required : true
9909
+ type : string
9910
+ /xblock/v2/xblocks/{usage_key}/fields/ :
9911
+ get :
9912
+ operationId : xblock_v2_xblocks_fields_list
9913
+ description : retrieves the xblock, returning display_name, data, and metadata
9914
+ parameters : []
9915
+ responses :
9916
+ ' 200 ' :
9917
+ description : ' '
9918
+ tags :
9919
+ - xblock
9920
+ post :
9921
+ operationId : xblock_v2_xblocks_fields_create
9922
+ description : edits the xblock, saving changes to data and metadata only (display_name
9923
+ included in metadata)
9924
+ parameters : []
9925
+ responses :
9926
+ ' 201 ' :
9927
+ description : ' '
9928
+ tags :
9929
+ - xblock
9930
+ parameters :
9931
+ - name : usage_key
9932
+ in : path
9933
+ required : true
9934
+ type : string
9935
+ /xblock/v2/xblocks/{usage_key}/handler_url/{handler_name}/ :
9936
+ get :
9937
+ operationId : xblock_v2_xblocks_handler_url_read
9938
+ summary : |-
9939
+ Get an absolute URL which can be used (without any authentication) to call
9940
+ the given XBlock handler.
9941
+ description : The URL will expire but is guaranteed to be valid for a minimum
9942
+ of 2 days.
9943
+ parameters : []
9944
+ responses :
9945
+ ' 200 ' :
9946
+ description : ' '
9947
+ tags :
9948
+ - xblock
9949
+ parameters :
9950
+ - name : usage_key
9951
+ in : path
9952
+ required : true
9953
+ type : string
9954
+ - name : handler_name
9955
+ in : path
9956
+ required : true
9957
+ type : string
9958
+ /xblock/v2/xblocks/{usage_key}/view/{view_name}/ :
9959
+ get :
9960
+ operationId : xblock_v2_xblocks_view_read
9961
+ description : Get the HTML, JS, and CSS needed to render the given XBlock.
9962
+ parameters : []
9963
+ responses :
9964
+ ' 200 ' :
9965
+ description : ' '
9966
+ tags :
9967
+ - xblock
9968
+ parameters :
9969
+ - name : usage_key
9970
+ in : path
9971
+ required : true
9972
+ type : string
9973
+ - name : view_name
9974
+ in : path
9975
+ required : true
9976
+ type : string
9977
+ /xblock/v2/xblocks/{usage_key}@{version}/ :
9872
9978
get :
9873
9979
operationId : xblock_v2_xblocks_read
9874
9980
summary : Get metadata about the specified block.
@@ -9884,11 +9990,15 @@ paths:
9884
9990
tags :
9885
9991
- xblock
9886
9992
parameters :
9887
- - name : usage_key_str
9993
+ - name : usage_key
9888
9994
in : path
9889
9995
required : true
9890
9996
type : string
9891
- /xblock/v2/xblocks/{usage_key_str}/fields/ :
9997
+ - name : version
9998
+ in : path
9999
+ required : true
10000
+ type : string
10001
+ /xblock/v2/xblocks/{usage_key}@{version}/fields/ :
9892
10002
get :
9893
10003
operationId : xblock_v2_xblocks_fields_list
9894
10004
description : retrieves the xblock, returning display_name, data, and metadata
@@ -9909,11 +10019,15 @@ paths:
9909
10019
tags :
9910
10020
- xblock
9911
10021
parameters :
9912
- - name : usage_key_str
10022
+ - name : usage_key
9913
10023
in : path
9914
10024
required : true
9915
10025
type : string
9916
- /xblock/v2/xblocks/{usage_key_str}/handler_url/{handler_name}/ :
10026
+ - name : version
10027
+ in : path
10028
+ required : true
10029
+ type : string
10030
+ /xblock/v2/xblocks/{usage_key}@{version}/handler_url/{handler_name}/ :
9917
10031
get :
9918
10032
operationId : xblock_v2_xblocks_handler_url_read
9919
10033
summary : |-
@@ -9928,15 +10042,19 @@ paths:
9928
10042
tags :
9929
10043
- xblock
9930
10044
parameters :
9931
- - name : usage_key_str
10045
+ - name : usage_key
10046
+ in : path
10047
+ required : true
10048
+ type : string
10049
+ - name : version
9932
10050
in : path
9933
10051
required : true
9934
10052
type : string
9935
10053
- name : handler_name
9936
10054
in : path
9937
10055
required : true
9938
10056
type : string
9939
- /xblock/v2/xblocks/{usage_key_str }/view/{view_name}/ :
10057
+ /xblock/v2/xblocks/{usage_key}@{version }/view/{view_name}/ :
9940
10058
get :
9941
10059
operationId : xblock_v2_xblocks_view_read
9942
10060
description : Get the HTML, JS, and CSS needed to render the given XBlock.
@@ -9947,7 +10065,11 @@ paths:
9947
10065
tags :
9948
10066
- xblock
9949
10067
parameters :
9950
- - name : usage_key_str
10068
+ - name : usage_key
10069
+ in : path
10070
+ required : true
10071
+ type : string
10072
+ - name : version
9951
10073
in : path
9952
10074
required : true
9953
10075
type : string
@@ -10158,6 +10280,7 @@ definitions:
10158
10280
- can_view_certificate
10159
10281
- course_modes
10160
10282
- is_new_discussion_sidebar_view_enabled
10283
+ - has_course_author_access
10161
10284
type : object
10162
10285
properties :
10163
10286
can_show_upgrade_sock :
@@ -10237,6 +10360,9 @@ definitions:
10237
10360
is_new_discussion_sidebar_view_enabled :
10238
10361
title : Is new discussion sidebar view enabled
10239
10362
type : boolean
10363
+ has_course_author_access :
10364
+ title : Has course author access
10365
+ type : boolean
10240
10366
DateSummary :
10241
10367
required :
10242
10368
- complete
0 commit comments