@iblai/iblai-api 4.443.0-core → 4.444.0-core
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +299 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +298 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +299 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/services/V1LmsService.d.ts +88 -0
- package/dist/types/services/V1StudioService.d.ts +88 -0
- package/package.json +1 -1
- package/sdk_schema.yml +443 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -0
- package/src/services/V1LmsService.ts +204 -0
- package/src/services/V1StudioService.ts +204 -0
package/package.json
CHANGED
package/sdk_schema.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
3
|
title: ibl-data-manager
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.444.0-core
|
|
5
5
|
description: API for iblai
|
|
6
6
|
paths:
|
|
7
7
|
/api/analytics/content/:
|
|
@@ -44750,6 +44750,227 @@ paths:
|
|
|
44750
44750
|
schema:
|
|
44751
44751
|
$ref: '#/components/schemas/GroupList'
|
|
44752
44752
|
description: ''
|
|
44753
|
+
/v1/lms/{edx_path}:
|
|
44754
|
+
get:
|
|
44755
|
+
operationId: v1_lms_retrieve
|
|
44756
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
44757
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
44758
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
44759
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
44760
|
+
key or user the request names must belong to that platform.'
|
|
44761
|
+
summary: Call edX as a user
|
|
44762
|
+
parameters:
|
|
44763
|
+
- in: path
|
|
44764
|
+
name: edx_path
|
|
44765
|
+
schema:
|
|
44766
|
+
type: string
|
|
44767
|
+
required: true
|
|
44768
|
+
- in: header
|
|
44769
|
+
name: iblai-org
|
|
44770
|
+
schema:
|
|
44771
|
+
type: string
|
|
44772
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
44773
|
+
scoped to their token's platform and get 403 if this names another.
|
|
44774
|
+
- in: header
|
|
44775
|
+
name: iblai-user
|
|
44776
|
+
schema:
|
|
44777
|
+
type: string
|
|
44778
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
44779
|
+
callers always act as themselves and get 403 if this names another user.
|
|
44780
|
+
tags:
|
|
44781
|
+
- v1-lms
|
|
44782
|
+
security:
|
|
44783
|
+
- PlatformApiKeyAuthentication: []
|
|
44784
|
+
responses:
|
|
44785
|
+
'200':
|
|
44786
|
+
description: edX's response, passed through.
|
|
44787
|
+
'400':
|
|
44788
|
+
description: A service account omitted a header.
|
|
44789
|
+
'403':
|
|
44790
|
+
description: Path not allowed, the request names another platform or a user
|
|
44791
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
44792
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
44793
|
+
active member of the platform, or the caller is a platform API key.
|
|
44794
|
+
'404':
|
|
44795
|
+
description: 'Service account: platform or platform member not found.'
|
|
44796
|
+
'502':
|
|
44797
|
+
description: edX unreachable or no JWT issued.
|
|
44798
|
+
post:
|
|
44799
|
+
operationId: v1_lms_create
|
|
44800
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
44801
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
44802
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
44803
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
44804
|
+
key or user the request names must belong to that platform.'
|
|
44805
|
+
summary: Call edX as a user
|
|
44806
|
+
parameters:
|
|
44807
|
+
- in: path
|
|
44808
|
+
name: edx_path
|
|
44809
|
+
schema:
|
|
44810
|
+
type: string
|
|
44811
|
+
required: true
|
|
44812
|
+
- in: header
|
|
44813
|
+
name: iblai-org
|
|
44814
|
+
schema:
|
|
44815
|
+
type: string
|
|
44816
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
44817
|
+
scoped to their token's platform and get 403 if this names another.
|
|
44818
|
+
- in: header
|
|
44819
|
+
name: iblai-user
|
|
44820
|
+
schema:
|
|
44821
|
+
type: string
|
|
44822
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
44823
|
+
callers always act as themselves and get 403 if this names another user.
|
|
44824
|
+
tags:
|
|
44825
|
+
- v1-lms
|
|
44826
|
+
security:
|
|
44827
|
+
- PlatformApiKeyAuthentication: []
|
|
44828
|
+
responses:
|
|
44829
|
+
'200':
|
|
44830
|
+
description: edX's response, passed through.
|
|
44831
|
+
'400':
|
|
44832
|
+
description: A service account omitted a header.
|
|
44833
|
+
'403':
|
|
44834
|
+
description: Path not allowed, the request names another platform or a user
|
|
44835
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
44836
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
44837
|
+
active member of the platform, or the caller is a platform API key.
|
|
44838
|
+
'404':
|
|
44839
|
+
description: 'Service account: platform or platform member not found.'
|
|
44840
|
+
'502':
|
|
44841
|
+
description: edX unreachable or no JWT issued.
|
|
44842
|
+
put:
|
|
44843
|
+
operationId: v1_lms_update
|
|
44844
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
44845
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
44846
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
44847
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
44848
|
+
key or user the request names must belong to that platform.'
|
|
44849
|
+
summary: Call edX as a user
|
|
44850
|
+
parameters:
|
|
44851
|
+
- in: path
|
|
44852
|
+
name: edx_path
|
|
44853
|
+
schema:
|
|
44854
|
+
type: string
|
|
44855
|
+
required: true
|
|
44856
|
+
- in: header
|
|
44857
|
+
name: iblai-org
|
|
44858
|
+
schema:
|
|
44859
|
+
type: string
|
|
44860
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
44861
|
+
scoped to their token's platform and get 403 if this names another.
|
|
44862
|
+
- in: header
|
|
44863
|
+
name: iblai-user
|
|
44864
|
+
schema:
|
|
44865
|
+
type: string
|
|
44866
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
44867
|
+
callers always act as themselves and get 403 if this names another user.
|
|
44868
|
+
tags:
|
|
44869
|
+
- v1-lms
|
|
44870
|
+
security:
|
|
44871
|
+
- PlatformApiKeyAuthentication: []
|
|
44872
|
+
responses:
|
|
44873
|
+
'200':
|
|
44874
|
+
description: edX's response, passed through.
|
|
44875
|
+
'400':
|
|
44876
|
+
description: A service account omitted a header.
|
|
44877
|
+
'403':
|
|
44878
|
+
description: Path not allowed, the request names another platform or a user
|
|
44879
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
44880
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
44881
|
+
active member of the platform, or the caller is a platform API key.
|
|
44882
|
+
'404':
|
|
44883
|
+
description: 'Service account: platform or platform member not found.'
|
|
44884
|
+
'502':
|
|
44885
|
+
description: edX unreachable or no JWT issued.
|
|
44886
|
+
patch:
|
|
44887
|
+
operationId: v1_lms_partial_update
|
|
44888
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
44889
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
44890
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
44891
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
44892
|
+
key or user the request names must belong to that platform.'
|
|
44893
|
+
summary: Call edX as a user
|
|
44894
|
+
parameters:
|
|
44895
|
+
- in: path
|
|
44896
|
+
name: edx_path
|
|
44897
|
+
schema:
|
|
44898
|
+
type: string
|
|
44899
|
+
required: true
|
|
44900
|
+
- in: header
|
|
44901
|
+
name: iblai-org
|
|
44902
|
+
schema:
|
|
44903
|
+
type: string
|
|
44904
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
44905
|
+
scoped to their token's platform and get 403 if this names another.
|
|
44906
|
+
- in: header
|
|
44907
|
+
name: iblai-user
|
|
44908
|
+
schema:
|
|
44909
|
+
type: string
|
|
44910
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
44911
|
+
callers always act as themselves and get 403 if this names another user.
|
|
44912
|
+
tags:
|
|
44913
|
+
- v1-lms
|
|
44914
|
+
security:
|
|
44915
|
+
- PlatformApiKeyAuthentication: []
|
|
44916
|
+
responses:
|
|
44917
|
+
'200':
|
|
44918
|
+
description: edX's response, passed through.
|
|
44919
|
+
'400':
|
|
44920
|
+
description: A service account omitted a header.
|
|
44921
|
+
'403':
|
|
44922
|
+
description: Path not allowed, the request names another platform or a user
|
|
44923
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
44924
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
44925
|
+
active member of the platform, or the caller is a platform API key.
|
|
44926
|
+
'404':
|
|
44927
|
+
description: 'Service account: platform or platform member not found.'
|
|
44928
|
+
'502':
|
|
44929
|
+
description: edX unreachable or no JWT issued.
|
|
44930
|
+
delete:
|
|
44931
|
+
operationId: v1_lms_destroy
|
|
44932
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
44933
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
44934
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
44935
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
44936
|
+
key or user the request names must belong to that platform.'
|
|
44937
|
+
summary: Call edX as a user
|
|
44938
|
+
parameters:
|
|
44939
|
+
- in: path
|
|
44940
|
+
name: edx_path
|
|
44941
|
+
schema:
|
|
44942
|
+
type: string
|
|
44943
|
+
required: true
|
|
44944
|
+
- in: header
|
|
44945
|
+
name: iblai-org
|
|
44946
|
+
schema:
|
|
44947
|
+
type: string
|
|
44948
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
44949
|
+
scoped to their token's platform and get 403 if this names another.
|
|
44950
|
+
- in: header
|
|
44951
|
+
name: iblai-user
|
|
44952
|
+
schema:
|
|
44953
|
+
type: string
|
|
44954
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
44955
|
+
callers always act as themselves and get 403 if this names another user.
|
|
44956
|
+
tags:
|
|
44957
|
+
- v1-lms
|
|
44958
|
+
security:
|
|
44959
|
+
- PlatformApiKeyAuthentication: []
|
|
44960
|
+
responses:
|
|
44961
|
+
'200':
|
|
44962
|
+
description: edX's response, passed through.
|
|
44963
|
+
'400':
|
|
44964
|
+
description: A service account omitted a header.
|
|
44965
|
+
'403':
|
|
44966
|
+
description: Path not allowed, the request names another platform or a user
|
|
44967
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
44968
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
44969
|
+
active member of the platform, or the caller is a platform API key.
|
|
44970
|
+
'404':
|
|
44971
|
+
description: 'Service account: platform or platform member not found.'
|
|
44972
|
+
'502':
|
|
44973
|
+
description: edX unreachable or no JWT issued.
|
|
44753
44974
|
/v1/rbac/permissions/:
|
|
44754
44975
|
get:
|
|
44755
44976
|
operationId: v1_rbac_permissions_retrieve
|
|
@@ -44833,6 +45054,227 @@ paths:
|
|
|
44833
45054
|
on the users collection)
|
|
44834
45055
|
'404':
|
|
44835
45056
|
description: Platform or user not found
|
|
45057
|
+
/v1/studio/{edx_path}:
|
|
45058
|
+
get:
|
|
45059
|
+
operationId: v1_studio_retrieve
|
|
45060
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
45061
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
45062
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
45063
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
45064
|
+
key or user the request names must belong to that platform.'
|
|
45065
|
+
summary: Call edX as a user
|
|
45066
|
+
parameters:
|
|
45067
|
+
- in: path
|
|
45068
|
+
name: edx_path
|
|
45069
|
+
schema:
|
|
45070
|
+
type: string
|
|
45071
|
+
required: true
|
|
45072
|
+
- in: header
|
|
45073
|
+
name: iblai-org
|
|
45074
|
+
schema:
|
|
45075
|
+
type: string
|
|
45076
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
45077
|
+
scoped to their token's platform and get 403 if this names another.
|
|
45078
|
+
- in: header
|
|
45079
|
+
name: iblai-user
|
|
45080
|
+
schema:
|
|
45081
|
+
type: string
|
|
45082
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
45083
|
+
callers always act as themselves and get 403 if this names another user.
|
|
45084
|
+
tags:
|
|
45085
|
+
- v1-studio
|
|
45086
|
+
security:
|
|
45087
|
+
- PlatformApiKeyAuthentication: []
|
|
45088
|
+
responses:
|
|
45089
|
+
'200':
|
|
45090
|
+
description: edX's response, passed through.
|
|
45091
|
+
'400':
|
|
45092
|
+
description: A service account omitted a header.
|
|
45093
|
+
'403':
|
|
45094
|
+
description: Path not allowed, the request names another platform or a user
|
|
45095
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
45096
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
45097
|
+
active member of the platform, or the caller is a platform API key.
|
|
45098
|
+
'404':
|
|
45099
|
+
description: 'Service account: platform or platform member not found.'
|
|
45100
|
+
'502':
|
|
45101
|
+
description: edX unreachable or no JWT issued.
|
|
45102
|
+
post:
|
|
45103
|
+
operationId: v1_studio_create
|
|
45104
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
45105
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
45106
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
45107
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
45108
|
+
key or user the request names must belong to that platform.'
|
|
45109
|
+
summary: Call edX as a user
|
|
45110
|
+
parameters:
|
|
45111
|
+
- in: path
|
|
45112
|
+
name: edx_path
|
|
45113
|
+
schema:
|
|
45114
|
+
type: string
|
|
45115
|
+
required: true
|
|
45116
|
+
- in: header
|
|
45117
|
+
name: iblai-org
|
|
45118
|
+
schema:
|
|
45119
|
+
type: string
|
|
45120
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
45121
|
+
scoped to their token's platform and get 403 if this names another.
|
|
45122
|
+
- in: header
|
|
45123
|
+
name: iblai-user
|
|
45124
|
+
schema:
|
|
45125
|
+
type: string
|
|
45126
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
45127
|
+
callers always act as themselves and get 403 if this names another user.
|
|
45128
|
+
tags:
|
|
45129
|
+
- v1-studio
|
|
45130
|
+
security:
|
|
45131
|
+
- PlatformApiKeyAuthentication: []
|
|
45132
|
+
responses:
|
|
45133
|
+
'200':
|
|
45134
|
+
description: edX's response, passed through.
|
|
45135
|
+
'400':
|
|
45136
|
+
description: A service account omitted a header.
|
|
45137
|
+
'403':
|
|
45138
|
+
description: Path not allowed, the request names another platform or a user
|
|
45139
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
45140
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
45141
|
+
active member of the platform, or the caller is a platform API key.
|
|
45142
|
+
'404':
|
|
45143
|
+
description: 'Service account: platform or platform member not found.'
|
|
45144
|
+
'502':
|
|
45145
|
+
description: edX unreachable or no JWT issued.
|
|
45146
|
+
put:
|
|
45147
|
+
operationId: v1_studio_update
|
|
45148
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
45149
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
45150
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
45151
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
45152
|
+
key or user the request names must belong to that platform.'
|
|
45153
|
+
summary: Call edX as a user
|
|
45154
|
+
parameters:
|
|
45155
|
+
- in: path
|
|
45156
|
+
name: edx_path
|
|
45157
|
+
schema:
|
|
45158
|
+
type: string
|
|
45159
|
+
required: true
|
|
45160
|
+
- in: header
|
|
45161
|
+
name: iblai-org
|
|
45162
|
+
schema:
|
|
45163
|
+
type: string
|
|
45164
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
45165
|
+
scoped to their token's platform and get 403 if this names another.
|
|
45166
|
+
- in: header
|
|
45167
|
+
name: iblai-user
|
|
45168
|
+
schema:
|
|
45169
|
+
type: string
|
|
45170
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
45171
|
+
callers always act as themselves and get 403 if this names another user.
|
|
45172
|
+
tags:
|
|
45173
|
+
- v1-studio
|
|
45174
|
+
security:
|
|
45175
|
+
- PlatformApiKeyAuthentication: []
|
|
45176
|
+
responses:
|
|
45177
|
+
'200':
|
|
45178
|
+
description: edX's response, passed through.
|
|
45179
|
+
'400':
|
|
45180
|
+
description: A service account omitted a header.
|
|
45181
|
+
'403':
|
|
45182
|
+
description: Path not allowed, the request names another platform or a user
|
|
45183
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
45184
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
45185
|
+
active member of the platform, or the caller is a platform API key.
|
|
45186
|
+
'404':
|
|
45187
|
+
description: 'Service account: platform or platform member not found.'
|
|
45188
|
+
'502':
|
|
45189
|
+
description: edX unreachable or no JWT issued.
|
|
45190
|
+
patch:
|
|
45191
|
+
operationId: v1_studio_partial_update
|
|
45192
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
45193
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
45194
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
45195
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
45196
|
+
key or user the request names must belong to that platform.'
|
|
45197
|
+
summary: Call edX as a user
|
|
45198
|
+
parameters:
|
|
45199
|
+
- in: path
|
|
45200
|
+
name: edx_path
|
|
45201
|
+
schema:
|
|
45202
|
+
type: string
|
|
45203
|
+
required: true
|
|
45204
|
+
- in: header
|
|
45205
|
+
name: iblai-org
|
|
45206
|
+
schema:
|
|
45207
|
+
type: string
|
|
45208
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
45209
|
+
scoped to their token's platform and get 403 if this names another.
|
|
45210
|
+
- in: header
|
|
45211
|
+
name: iblai-user
|
|
45212
|
+
schema:
|
|
45213
|
+
type: string
|
|
45214
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
45215
|
+
callers always act as themselves and get 403 if this names another user.
|
|
45216
|
+
tags:
|
|
45217
|
+
- v1-studio
|
|
45218
|
+
security:
|
|
45219
|
+
- PlatformApiKeyAuthentication: []
|
|
45220
|
+
responses:
|
|
45221
|
+
'200':
|
|
45222
|
+
description: edX's response, passed through.
|
|
45223
|
+
'400':
|
|
45224
|
+
description: A service account omitted a header.
|
|
45225
|
+
'403':
|
|
45226
|
+
description: Path not allowed, the request names another platform or a user
|
|
45227
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
45228
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
45229
|
+
active member of the platform, or the caller is a platform API key.
|
|
45230
|
+
'404':
|
|
45231
|
+
description: 'Service account: platform or platform member not found.'
|
|
45232
|
+
'502':
|
|
45233
|
+
description: edX unreachable or no JWT issued.
|
|
45234
|
+
delete:
|
|
45235
|
+
operationId: v1_studio_destroy
|
|
45236
|
+
description: 'Forwards the request to the LMS (`/v1/lms/...`) or Studio (`/v1/studio/...`)
|
|
45237
|
+
at `edx_path`, authenticated with an edX JWT minted for the acting user: the
|
|
45238
|
+
caller, or for a service account the `iblai-user` member of the `iblai-org`
|
|
45239
|
+
platform. Paths are governed by EdxProxyRule, and any org, course/usage/library
|
|
45240
|
+
key or user the request names must belong to that platform.'
|
|
45241
|
+
summary: Call edX as a user
|
|
45242
|
+
parameters:
|
|
45243
|
+
- in: path
|
|
45244
|
+
name: edx_path
|
|
45245
|
+
schema:
|
|
45246
|
+
type: string
|
|
45247
|
+
required: true
|
|
45248
|
+
- in: header
|
|
45249
|
+
name: iblai-org
|
|
45250
|
+
schema:
|
|
45251
|
+
type: string
|
|
45252
|
+
description: Platform key. Required for service accounts. Other callers are
|
|
45253
|
+
scoped to their token's platform and get 403 if this names another.
|
|
45254
|
+
- in: header
|
|
45255
|
+
name: iblai-user
|
|
45256
|
+
schema:
|
|
45257
|
+
type: string
|
|
45258
|
+
description: Username to call edX as. Required for service accounts. Other
|
|
45259
|
+
callers always act as themselves and get 403 if this names another user.
|
|
45260
|
+
tags:
|
|
45261
|
+
- v1-studio
|
|
45262
|
+
security:
|
|
45263
|
+
- PlatformApiKeyAuthentication: []
|
|
45264
|
+
responses:
|
|
45265
|
+
'200':
|
|
45266
|
+
description: edX's response, passed through.
|
|
45267
|
+
'400':
|
|
45268
|
+
description: A service account omitted a header.
|
|
45269
|
+
'403':
|
|
45270
|
+
description: Path not allowed, the request names another platform or a user
|
|
45271
|
+
who is not an active member of it (including inside an uploaded text file),
|
|
45272
|
+
iblai-org / iblai-user does not match the token, the caller is not an
|
|
45273
|
+
active member of the platform, or the caller is a platform API key.
|
|
45274
|
+
'404':
|
|
45275
|
+
description: 'Service account: platform or platform member not found.'
|
|
45276
|
+
'502':
|
|
45277
|
+
description: edX unreachable or no JWT issued.
|
|
44836
45278
|
components:
|
|
44837
45279
|
schemas:
|
|
44838
45280
|
AWSTenantLaunchRequest:
|
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -710,4 +710,6 @@ export { ReportsService } from './services/ReportsService';
|
|
|
710
710
|
export { ScimService } from './services/ScimService';
|
|
711
711
|
export { SearchService } from './services/SearchService';
|
|
712
712
|
export { SkillsService } from './services/SkillsService';
|
|
713
|
+
export { V1LmsService } from './services/V1LmsService';
|
|
713
714
|
export { V1RbacService } from './services/V1RbacService';
|
|
715
|
+
export { V1StudioService } from './services/V1StudioService';
|