@easyedu/js-lsm-api 1.94.0 → 1.95.0
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/.openapi-generator/FILES +16 -364
- package/README.md +22 -267
- package/dist/apis/CourseApi.d.ts +124 -16
- package/dist/apis/CourseApi.js +315 -23
- package/dist/apis/PlayerApi.d.ts +0 -166
- package/dist/apis/PlayerApi.js +0 -422
- package/dist/apis/ReportingApi.d.ts +18 -144
- package/dist/apis/ReportingApi.js +31 -362
- package/dist/apis/index.d.ts +0 -3
- package/dist/apis/index.js +0 -3
- package/dist/esm/apis/CourseApi.d.ts +124 -16
- package/dist/esm/apis/CourseApi.js +315 -23
- package/dist/esm/apis/PlayerApi.d.ts +0 -166
- package/dist/esm/apis/PlayerApi.js +0 -422
- package/dist/esm/apis/ReportingApi.d.ts +18 -144
- package/dist/esm/apis/ReportingApi.js +31 -362
- package/dist/esm/apis/index.d.ts +0 -3
- package/dist/esm/apis/index.js +0 -3
- package/dist/esm/models/CertificateConfig.d.ts +2 -2
- package/dist/esm/models/CertificateConfig.js +2 -2
- package/dist/esm/models/EffectiveCertificateConfig.d.ts +1 -1
- package/dist/esm/models/EffectiveCertificateConfig.js +2 -2
- package/dist/esm/models/GetCourseExport.d.ts +6 -0
- package/dist/esm/models/GetCourseExport.js +2 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +13 -21
- package/dist/esm/models/GetCourseVersionItem.js +20 -19
- package/dist/esm/models/GetCourseVersionItemReporting.d.ts +100 -0
- package/dist/esm/models/GetCourseVersionItemReporting.js +90 -0
- package/dist/esm/models/GetCourseVersionModuleReporting.d.ts +99 -0
- package/dist/esm/models/GetCourseVersionModuleReporting.js +88 -0
- package/dist/esm/models/GetCourseVersionReporting.d.ts +93 -0
- package/dist/esm/models/GetCourseVersionReporting.js +84 -0
- package/dist/esm/models/PostCertificateConfig.d.ts +1 -1
- package/dist/esm/models/PostCertificateConfig.js +2 -2
- package/dist/esm/models/PostCourseExport.d.ts +6 -0
- package/dist/esm/models/PostCourseExport.js +4 -0
- package/dist/esm/models/PostCourseResume.d.ts +38 -29
- package/dist/esm/models/PostCourseResume.js +36 -25
- package/dist/esm/models/PostCourseVersionItem.d.ts +8 -8
- package/dist/esm/models/PostCourseVersionItem.js +9 -11
- package/dist/esm/models/PostCourseVersionModule.d.ts +51 -0
- package/dist/esm/models/PostCourseVersionModule.js +50 -0
- package/dist/esm/models/PostCourseVersionModuleDuplicate.d.ts +38 -0
- package/dist/esm/models/PostCourseVersionModuleDuplicate.js +43 -0
- package/dist/esm/models/PutCertificateConfig.d.ts +1 -1
- package/dist/esm/models/PutCertificateConfig.js +2 -2
- package/dist/esm/models/PutCourseVersionItem.d.ts +14 -2
- package/dist/esm/models/PutCourseVersionItem.js +8 -4
- package/dist/esm/models/PutCourseVersionItemReorder.d.ts +32 -0
- package/dist/esm/models/PutCourseVersionItemReorder.js +43 -0
- package/dist/esm/models/PutCourseVersionModule.d.ts +51 -0
- package/dist/esm/models/PutCourseVersionModule.js +48 -0
- package/dist/esm/models/PutCourseVersionModuleReorder.d.ts +32 -0
- package/dist/esm/models/PutCourseVersionModuleReorder.js +43 -0
- package/dist/esm/models/index.d.ts +8 -179
- package/dist/esm/models/index.js +8 -179
- package/dist/models/CertificateConfig.d.ts +2 -2
- package/dist/models/CertificateConfig.js +2 -2
- package/dist/models/EffectiveCertificateConfig.d.ts +1 -1
- package/dist/models/EffectiveCertificateConfig.js +2 -2
- package/dist/models/GetCourseExport.d.ts +6 -0
- package/dist/models/GetCourseExport.js +2 -0
- package/dist/models/GetCourseVersionItem.d.ts +13 -21
- package/dist/models/GetCourseVersionItem.js +21 -20
- package/dist/models/GetCourseVersionItemReporting.d.ts +100 -0
- package/dist/models/GetCourseVersionItemReporting.js +98 -0
- package/dist/models/GetCourseVersionModuleReporting.d.ts +99 -0
- package/dist/models/GetCourseVersionModuleReporting.js +95 -0
- package/dist/models/GetCourseVersionReporting.d.ts +93 -0
- package/dist/models/GetCourseVersionReporting.js +91 -0
- package/dist/models/PostCertificateConfig.d.ts +1 -1
- package/dist/models/PostCertificateConfig.js +2 -2
- package/dist/models/PostCourseExport.d.ts +6 -0
- package/dist/models/PostCourseExport.js +4 -0
- package/dist/models/PostCourseResume.d.ts +38 -29
- package/dist/models/PostCourseResume.js +37 -25
- package/dist/models/PostCourseVersionItem.d.ts +8 -8
- package/dist/models/PostCourseVersionItem.js +9 -11
- package/dist/models/PostCourseVersionModule.d.ts +51 -0
- package/dist/models/PostCourseVersionModule.js +57 -0
- package/dist/models/PostCourseVersionModuleDuplicate.d.ts +38 -0
- package/dist/models/PostCourseVersionModuleDuplicate.js +50 -0
- package/dist/models/PutCertificateConfig.d.ts +1 -1
- package/dist/models/PutCertificateConfig.js +2 -2
- package/dist/models/PutCourseVersionItem.d.ts +14 -2
- package/dist/models/PutCourseVersionItem.js +8 -4
- package/dist/models/PutCourseVersionItemReorder.d.ts +32 -0
- package/dist/models/PutCourseVersionItemReorder.js +50 -0
- package/dist/models/PutCourseVersionModule.d.ts +51 -0
- package/dist/models/PutCourseVersionModule.js +55 -0
- package/dist/models/PutCourseVersionModuleReorder.d.ts +32 -0
- package/dist/models/PutCourseVersionModuleReorder.js +50 -0
- package/dist/models/index.d.ts +8 -179
- package/dist/models/index.js +8 -179
- package/docs/CertificateConfig.md +2 -2
- package/docs/CourseApi.md +456 -20
- package/docs/EffectiveCertificateConfig.md +2 -2
- package/docs/GetCourseExport.md +2 -0
- package/docs/GetCourseVersionItem.md +10 -10
- package/docs/{GetModuleInstructorBasicReportingEngagement.md → GetCourseVersionItemReporting.md} +20 -8
- package/docs/GetCourseVersionModuleReporting.md +56 -0
- package/docs/GetCourseVersionReporting.md +54 -0
- package/docs/PlayerApi.md +10 -762
- package/docs/PostCertificateConfig.md +2 -2
- package/docs/PostCourseExport.md +2 -0
- package/docs/PostCourseResume.md +15 -17
- package/docs/PostCourseVersionItem.md +8 -8
- package/docs/{PutModule.md → PostCourseVersionModule.md} +8 -6
- package/docs/{GetContentUpload.md → PostCourseVersionModuleDuplicate.md} +6 -8
- package/docs/PutCertificateConfig.md +2 -2
- package/docs/PutCourseVersionItem.md +8 -4
- package/docs/{Essay1.md → PutCourseVersionItemReorder.md} +6 -8
- package/docs/{PostModule.md → PutCourseVersionModule.md} +8 -6
- package/docs/{Essay.md → PutCourseVersionModuleReorder.md} +6 -8
- package/docs/ReportingApi.md +25 -554
- package/package.json +1 -1
- package/src/apis/CourseApi.ts +466 -28
- package/src/apis/PlayerApi.ts +0 -537
- package/src/apis/ReportingApi.ts +43 -527
- package/src/apis/index.ts +0 -3
- package/src/models/CertificateConfig.ts +4 -4
- package/src/models/EffectiveCertificateConfig.ts +3 -3
- package/src/models/GetCourseExport.ts +8 -0
- package/src/models/GetCourseVersionItem.ts +28 -33
- package/src/models/GetCourseVersionItemReporting.ts +167 -0
- package/src/models/GetCourseVersionModuleReporting.ts +173 -0
- package/src/models/GetCourseVersionReporting.ts +164 -0
- package/src/models/PostCertificateConfig.ts +3 -3
- package/src/models/PostCourseExport.ts +9 -0
- package/src/models/PostCourseResume.ts +61 -59
- package/src/models/PostCourseVersionItem.ts +17 -18
- package/src/models/PostCourseVersionModule.ts +98 -0
- package/src/models/PostCourseVersionModuleDuplicate.ts +73 -0
- package/src/models/PutCertificateConfig.ts +3 -3
- package/src/models/PutCourseVersionItem.ts +22 -6
- package/src/models/PutCourseVersionItemReorder.ts +66 -0
- package/src/models/PutCourseVersionModule.ts +97 -0
- package/src/models/PutCourseVersionModuleReorder.ts +66 -0
- package/src/models/index.ts +8 -179
- package/dist/apis/ContentApi.d.ts +0 -605
- package/dist/apis/ContentApi.js +0 -1484
- package/dist/apis/ModuleApi.d.ts +0 -140
- package/dist/apis/ModuleApi.js +0 -346
- package/dist/apis/QuizApi.d.ts +0 -493
- package/dist/apis/QuizApi.js +0 -1213
- package/dist/esm/apis/ContentApi.d.ts +0 -605
- package/dist/esm/apis/ContentApi.js +0 -1480
- package/dist/esm/apis/ModuleApi.d.ts +0 -140
- package/dist/esm/apis/ModuleApi.js +0 -342
- package/dist/esm/apis/QuizApi.d.ts +0 -493
- package/dist/esm/apis/QuizApi.js +0 -1209
- package/dist/esm/models/ContentAttemptItem.d.ts +0 -69
- package/dist/esm/models/ContentAttemptItem.js +0 -68
- package/dist/esm/models/ContentAttemptRollupScore.d.ts +0 -38
- package/dist/esm/models/ContentAttemptRollupScore.js +0 -47
- package/dist/esm/models/ContentAttemptScore.d.ts +0 -50
- package/dist/esm/models/ContentAttemptScore.js +0 -47
- package/dist/esm/models/ContentAttemptSettings.d.ts +0 -46
- package/dist/esm/models/ContentAttemptSettings.js +0 -54
- package/dist/esm/models/CriteriaBasedSelection.d.ts +0 -59
- package/dist/esm/models/CriteriaBasedSelection.js +0 -59
- package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +0 -71
- package/dist/esm/models/CriteriaBasedSelectionCriteria.js +0 -66
- package/dist/esm/models/CriteriaBasedSelectionDistribution.d.ts +0 -42
- package/dist/esm/models/CriteriaBasedSelectionDistribution.js +0 -43
- package/dist/esm/models/Essay.d.ts +0 -45
- package/dist/esm/models/Essay.js +0 -53
- package/dist/esm/models/Essay1.d.ts +0 -45
- package/dist/esm/models/Essay1.js +0 -53
- package/dist/esm/models/FillInBlank.d.ts +0 -45
- package/dist/esm/models/FillInBlank.js +0 -53
- package/dist/esm/models/FillInBlank1.d.ts +0 -45
- package/dist/esm/models/FillInBlank1.js +0 -53
- package/dist/esm/models/GetContent.d.ts +0 -132
- package/dist/esm/models/GetContent.js +0 -94
- package/dist/esm/models/GetContentAttempts.d.ts +0 -90
- package/dist/esm/models/GetContentAttempts.js +0 -84
- package/dist/esm/models/GetContentContentData.d.ts +0 -24
- package/dist/esm/models/GetContentContentData.js +0 -58
- package/dist/esm/models/GetContentGradeDetail.d.ts +0 -118
- package/dist/esm/models/GetContentGradeDetail.js +0 -104
- package/dist/esm/models/GetContentGrades.d.ts +0 -57
- package/dist/esm/models/GetContentGrades.js +0 -60
- package/dist/esm/models/GetContentGradesItemsInner.d.ts +0 -109
- package/dist/esm/models/GetContentGradesItemsInner.js +0 -104
- package/dist/esm/models/GetContentGradesItemsInnerUser.d.ts +0 -44
- package/dist/esm/models/GetContentGradesItemsInnerUser.js +0 -51
- package/dist/esm/models/GetContentInstructorBasicReporting.d.ts +0 -47
- package/dist/esm/models/GetContentInstructorBasicReporting.js +0 -54
- package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.d.ts +0 -59
- package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.js +0 -63
- package/dist/esm/models/GetContentInstructorBasicReportingEngagement.d.ts +0 -56
- package/dist/esm/models/GetContentInstructorBasicReportingEngagement.js +0 -59
- package/dist/esm/models/GetContentInstructorBasicReportingPerformance.d.ts +0 -38
- package/dist/esm/models/GetContentInstructorBasicReportingPerformance.js +0 -47
- package/dist/esm/models/GetContentList.d.ts +0 -57
- package/dist/esm/models/GetContentList.js +0 -60
- package/dist/esm/models/GetContentSession.d.ts +0 -74
- package/dist/esm/models/GetContentSession.js +0 -71
- package/dist/esm/models/GetContentSessionDetail.d.ts +0 -115
- package/dist/esm/models/GetContentSessionDetail.js +0 -104
- package/dist/esm/models/GetContentSessionDetailScormSessionDataInner.d.ts +0 -38
- package/dist/esm/models/GetContentSessionDetailScormSessionDataInner.js +0 -47
- package/dist/esm/models/GetContentSessionDetailUserData.d.ts +0 -38
- package/dist/esm/models/GetContentSessionDetailUserData.js +0 -47
- package/dist/esm/models/GetContentSessionList.d.ts +0 -57
- package/dist/esm/models/GetContentSessionList.js +0 -60
- package/dist/esm/models/GetContentSessionListItem.d.ts +0 -88
- package/dist/esm/models/GetContentSessionListItem.js +0 -81
- package/dist/esm/models/GetContentSessionListItemScormSessionData.d.ts +0 -32
- package/dist/esm/models/GetContentSessionListItemScormSessionData.js +0 -43
- package/dist/esm/models/GetContentUpload.d.ts +0 -44
- package/dist/esm/models/GetContentUpload.js +0 -51
- package/dist/esm/models/GetContentVersion.d.ts +0 -76
- package/dist/esm/models/GetContentVersion.js +0 -71
- package/dist/esm/models/GetContentVersionList.d.ts +0 -57
- package/dist/esm/models/GetContentVersionList.js +0 -60
- package/dist/esm/models/GetContentVersionListItemsInner.d.ts +0 -56
- package/dist/esm/models/GetContentVersionListItemsInner.js +0 -59
- package/dist/esm/models/GetContentVersionSandbox.d.ts +0 -32
- package/dist/esm/models/GetContentVersionSandbox.js +0 -43
- package/dist/esm/models/GetContentVersionScormData.d.ts +0 -32
- package/dist/esm/models/GetContentVersionScormData.js +0 -43
- package/dist/esm/models/GetCourseReportingBasic.d.ts +0 -44
- package/dist/esm/models/GetCourseReportingBasic.js +0 -51
- package/dist/esm/models/GetCourseStudentReporting.d.ts +0 -54
- package/dist/esm/models/GetCourseStudentReporting.js +0 -59
- package/dist/esm/models/GetCourseStudentReportingCourseInfo.d.ts +0 -32
- package/dist/esm/models/GetCourseStudentReportingCourseInfo.js +0 -43
- package/dist/esm/models/GetCourseStudentReportingEngagement.d.ts +0 -38
- package/dist/esm/models/GetCourseStudentReportingEngagement.js +0 -47
- package/dist/esm/models/GetCourseStudentReportingModulesInner.d.ts +0 -71
- package/dist/esm/models/GetCourseStudentReportingModulesInner.js +0 -71
- package/dist/esm/models/GetCourseStudentReportingPerformance.d.ts +0 -32
- package/dist/esm/models/GetCourseStudentReportingPerformance.js +0 -43
- package/dist/esm/models/GetManualQuestionSelectionItem.d.ts +0 -75
- package/dist/esm/models/GetManualQuestionSelectionItem.js +0 -72
- package/dist/esm/models/GetManualQuestionSelectionList.d.ts +0 -63
- package/dist/esm/models/GetManualQuestionSelectionList.js +0 -64
- package/dist/esm/models/GetModule.d.ts +0 -62
- package/dist/esm/models/GetModule.js +0 -62
- package/dist/esm/models/GetModuleInstructorBasicReporting.d.ts +0 -47
- package/dist/esm/models/GetModuleInstructorBasicReporting.js +0 -54
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.d.ts +0 -56
- package/dist/esm/models/GetModuleInstructorBasicReportingEngagement.js +0 -59
- package/dist/esm/models/GetModuleInstructorBasicReportingModuleInfo.d.ts +0 -32
- package/dist/esm/models/GetModuleInstructorBasicReportingModuleInfo.js +0 -43
- package/dist/esm/models/GetModuleInstructorBasicReportingPerformance.d.ts +0 -32
- package/dist/esm/models/GetModuleInstructorBasicReportingPerformance.js +0 -43
- package/dist/esm/models/GetModuleList.d.ts +0 -57
- package/dist/esm/models/GetModuleList.js +0 -60
- package/dist/esm/models/GetModuleStudentReporting.d.ts +0 -54
- package/dist/esm/models/GetModuleStudentReporting.js +0 -59
- package/dist/esm/models/GetModuleStudentReportingAccess.d.ts +0 -38
- package/dist/esm/models/GetModuleStudentReportingAccess.js +0 -47
- package/dist/esm/models/GetModuleStudentReportingContentsInner.d.ts +0 -101
- package/dist/esm/models/GetModuleStudentReportingContentsInner.js +0 -91
- package/dist/esm/models/GetModuleStudentReportingProgress.d.ts +0 -38
- package/dist/esm/models/GetModuleStudentReportingProgress.js +0 -47
- package/dist/esm/models/GetPortalBasicReporting.d.ts +0 -40
- package/dist/esm/models/GetPortalBasicReporting.js +0 -49
- package/dist/esm/models/GetPortalBasicReportingCertificates.d.ts +0 -32
- package/dist/esm/models/GetPortalBasicReportingCertificates.js +0 -43
- package/dist/esm/models/GetPortalBasicReportingPortalInfo.d.ts +0 -44
- package/dist/esm/models/GetPortalBasicReportingPortalInfo.js +0 -51
- package/dist/esm/models/GetPortalStudentReporting.d.ts +0 -40
- package/dist/esm/models/GetPortalStudentReporting.js +0 -49
- package/dist/esm/models/GetPortalStudentReportingCertificates.d.ts +0 -32
- package/dist/esm/models/GetPortalStudentReportingCertificates.js +0 -43
- package/dist/esm/models/GetPortalStudentReportingPortalInfo.d.ts +0 -44
- package/dist/esm/models/GetPortalStudentReportingPortalInfo.js +0 -51
- package/dist/esm/models/GetQuiz.d.ts +0 -143
- package/dist/esm/models/GetQuiz.js +0 -99
- package/dist/esm/models/GetQuizAttempt.d.ts +0 -47
- package/dist/esm/models/GetQuizAttempt.js +0 -54
- package/dist/esm/models/GetQuizAttemptAnalytics.d.ts +0 -72
- package/dist/esm/models/GetQuizAttemptAnalytics.js +0 -71
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.d.ts +0 -84
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.js +0 -76
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdown.d.ts +0 -47
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdown.js +0 -54
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.d.ts +0 -71
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.js +0 -71
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +0 -74
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.js +0 -74
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.d.ts +0 -62
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.js +0 -63
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +0 -127
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +0 -104
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.d.ts +0 -44
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.js +0 -45
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.d.ts +0 -44
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.js +0 -45
- package/dist/esm/models/GetQuizAttemptAnalyticsScoring.d.ts +0 -74
- package/dist/esm/models/GetQuizAttemptAnalyticsScoring.js +0 -63
- package/dist/esm/models/GetQuizAttemptAttempt.d.ts +0 -120
- package/dist/esm/models/GetQuizAttemptAttempt.js +0 -98
- package/dist/esm/models/GetQuizAttemptList.d.ts +0 -71
- package/dist/esm/models/GetQuizAttemptList.js +0 -68
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.d.ts +0 -144
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.js +0 -108
- package/dist/esm/models/GetQuizAttemptListAllOfFilters.d.ts +0 -73
- package/dist/esm/models/GetQuizAttemptListAllOfFilters.js +0 -61
- package/dist/esm/models/GetQuizAttemptListAllOfFiltersDateRange.d.ts +0 -38
- package/dist/esm/models/GetQuizAttemptListAllOfFiltersDateRange.js +0 -43
- package/dist/esm/models/GetQuizAttemptListAllOfSummary.d.ts +0 -62
- package/dist/esm/models/GetQuizAttemptListAllOfSummary.js +0 -57
- package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +0 -107
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +0 -89
- package/dist/esm/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +0 -51
- package/dist/esm/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.js +0 -54
- package/dist/esm/models/GetQuizAttemptQuestionsInnerCurrentAnswer.d.ts +0 -50
- package/dist/esm/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +0 -47
- package/dist/esm/models/GetQuizAttemptQuizSettings.d.ts +0 -62
- package/dist/esm/models/GetQuizAttemptQuizSettings.js +0 -57
- package/dist/esm/models/GetQuizCriteria.d.ts +0 -46
- package/dist/esm/models/GetQuizCriteria.js +0 -53
- package/dist/esm/models/GetQuizCriteriaEstimatedQuestions.d.ts +0 -44
- package/dist/esm/models/GetQuizCriteriaEstimatedQuestions.js +0 -51
- package/dist/esm/models/GetQuizCriteriaItem.d.ts +0 -119
- package/dist/esm/models/GetQuizCriteriaItem.js +0 -94
- package/dist/esm/models/GetQuizCriteriaList.d.ts +0 -57
- package/dist/esm/models/GetQuizCriteriaList.js +0 -60
- package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +0 -119
- package/dist/esm/models/GetQuizCriteriaListItemsInner.js +0 -94
- package/dist/esm/models/GetQuizList.d.ts +0 -64
- package/dist/esm/models/GetQuizList.js +0 -63
- package/dist/esm/models/GetQuizListAllOfFilters.d.ts +0 -64
- package/dist/esm/models/GetQuizListAllOfFilters.js +0 -56
- package/dist/esm/models/GetQuizListAllOfQuizzes.d.ts +0 -131
- package/dist/esm/models/GetQuizListAllOfQuizzes.js +0 -97
- package/dist/esm/models/GetQuizListAllOfStatistics.d.ts +0 -56
- package/dist/esm/models/GetQuizListAllOfStatistics.js +0 -49
- package/dist/esm/models/GetQuizQuestions.d.ts +0 -83
- package/dist/esm/models/GetQuizQuestions.js +0 -79
- package/dist/esm/models/GetQuizQuestionsItemsInner.d.ts +0 -75
- package/dist/esm/models/GetQuizQuestionsItemsInner.js +0 -72
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -102
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -85
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.d.ts +0 -56
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.js +0 -59
- package/dist/esm/models/GetQuizResults.d.ts +0 -100
- package/dist/esm/models/GetQuizResults.js +0 -90
- package/dist/esm/models/GetQuizResultsFeedback.d.ts +0 -46
- package/dist/esm/models/GetQuizResultsFeedback.js +0 -47
- package/dist/esm/models/GetQuizResultsFeedbackDifficultyPerformanceInner.d.ts +0 -59
- package/dist/esm/models/GetQuizResultsFeedbackDifficultyPerformanceInner.js +0 -63
- package/dist/esm/models/GetQuizResultsFeedbackTopicPerformanceInner.d.ts +0 -50
- package/dist/esm/models/GetQuizResultsFeedbackTopicPerformanceInner.js +0 -55
- package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +0 -107
- package/dist/esm/models/GetQuizResultsQuestionsInner.js +0 -85
- package/dist/esm/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.d.ts +0 -57
- package/dist/esm/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.js +0 -58
- package/dist/esm/models/GetQuizResultsQuestionsInnerStudentAnswer.d.ts +0 -56
- package/dist/esm/models/GetQuizResultsQuestionsInnerStudentAnswer.js +0 -49
- package/dist/esm/models/GetQuizResultsScore.d.ts +0 -50
- package/dist/esm/models/GetQuizResultsScore.js +0 -47
- package/dist/esm/models/GetQuizResultsTiming.d.ts +0 -56
- package/dist/esm/models/GetQuizResultsTiming.js +0 -49
- package/dist/esm/models/GetQuizStatistics.d.ts +0 -56
- package/dist/esm/models/GetQuizStatistics.js +0 -49
- package/dist/esm/models/GetScormApiLogItem.d.ts +0 -73
- package/dist/esm/models/GetScormApiLogItem.js +0 -73
- package/dist/esm/models/GetScormApiLogs.d.ts +0 -57
- package/dist/esm/models/GetScormApiLogs.js +0 -60
- package/dist/esm/models/GetScormPackage.d.ts +0 -39
- package/dist/esm/models/GetScormPackage.js +0 -48
- package/dist/esm/models/GetScormPackagePackageInfo.d.ts +0 -104
- package/dist/esm/models/GetScormPackagePackageInfo.js +0 -81
- package/dist/esm/models/GetScormSessionData.d.ts +0 -59
- package/dist/esm/models/GetScormSessionData.js +0 -60
- package/dist/esm/models/GetScormSessionDataActivity.d.ts +0 -38
- package/dist/esm/models/GetScormSessionDataActivity.js +0 -47
- package/dist/esm/models/GetUserQuizAttempts.d.ts +0 -71
- package/dist/esm/models/GetUserQuizAttempts.js +0 -68
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.d.ts +0 -150
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.js +0 -108
- package/dist/esm/models/GetUserQuizAttemptsAllOfFilters.d.ts +0 -79
- package/dist/esm/models/GetUserQuizAttemptsAllOfFilters.js +0 -63
- package/dist/esm/models/GetUserQuizAttemptsAllOfSummary.d.ts +0 -68
- package/dist/esm/models/GetUserQuizAttemptsAllOfSummary.js +0 -63
- package/dist/esm/models/ManualSelection.d.ts +0 -45
- package/dist/esm/models/ManualSelection.js +0 -53
- package/dist/esm/models/Matching.d.ts +0 -46
- package/dist/esm/models/Matching.js +0 -54
- package/dist/esm/models/Matching1.d.ts +0 -46
- package/dist/esm/models/Matching1.js +0 -54
- package/dist/esm/models/Matching1PairsInner.d.ts +0 -38
- package/dist/esm/models/Matching1PairsInner.js +0 -47
- package/dist/esm/models/MatchingPairsInner.d.ts +0 -38
- package/dist/esm/models/MatchingPairsInner.js +0 -47
- package/dist/esm/models/MediaContent.d.ts +0 -44
- package/dist/esm/models/MediaContent.js +0 -47
- package/dist/esm/models/MultipleAnswer.d.ts +0 -45
- package/dist/esm/models/MultipleAnswer.js +0 -53
- package/dist/esm/models/MultipleAnswer1.d.ts +0 -45
- package/dist/esm/models/MultipleAnswer1.js +0 -53
- package/dist/esm/models/NoAnswer.d.ts +0 -39
- package/dist/esm/models/NoAnswer.js +0 -49
- package/dist/esm/models/PostContentQuiz.d.ts +0 -65
- package/dist/esm/models/PostContentQuiz.js +0 -60
- package/dist/esm/models/PostContentQuizAssignment.d.ts +0 -50
- package/dist/esm/models/PostContentQuizAssignment.js +0 -47
- package/dist/esm/models/PostContentQuizQuestionSelection.d.ts +0 -23
- package/dist/esm/models/PostContentQuizQuestionSelection.js +0 -51
- package/dist/esm/models/PostContentQuizSettings.d.ts +0 -80
- package/dist/esm/models/PostContentQuizSettings.js +0 -57
- package/dist/esm/models/PostContentSession.d.ts +0 -75
- package/dist/esm/models/PostContentSession.js +0 -70
- package/dist/esm/models/PostContentUpload.d.ts +0 -61
- package/dist/esm/models/PostContentUpload.js +0 -65
- package/dist/esm/models/PostDuplicate1.d.ts +0 -32
- package/dist/esm/models/PostDuplicate1.js +0 -41
- package/dist/esm/models/PostDuplicate2.d.ts +0 -32
- package/dist/esm/models/PostDuplicate2.js +0 -41
- package/dist/esm/models/PostManualQuestionSelection.d.ts +0 -50
- package/dist/esm/models/PostManualQuestionSelection.js +0 -49
- package/dist/esm/models/PostModule.d.ts +0 -44
- package/dist/esm/models/PostModule.js +0 -49
- package/dist/esm/models/PostQuiz.d.ts +0 -113
- package/dist/esm/models/PostQuiz.js +0 -77
- package/dist/esm/models/PostQuizAttempt.d.ts +0 -47
- package/dist/esm/models/PostQuizAttempt.js +0 -54
- package/dist/esm/models/PostQuizAttemptAttempt.d.ts +0 -99
- package/dist/esm/models/PostQuizAttemptAttempt.js +0 -87
- package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +0 -94
- package/dist/esm/models/PostQuizAttemptQuestionsInner.js +0 -84
- package/dist/esm/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +0 -51
- package/dist/esm/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.js +0 -54
- package/dist/esm/models/PostQuizAttemptQuizSettings.d.ts +0 -62
- package/dist/esm/models/PostQuizAttemptQuizSettings.js +0 -55
- package/dist/esm/models/PostQuizAttemptSubmit.d.ts +0 -54
- package/dist/esm/models/PostQuizAttemptSubmit.js +0 -60
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInner.d.ts +0 -39
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInner.js +0 -48
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.d.ts +0 -28
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +0 -86
- package/dist/esm/models/PostQuizCriteria.d.ts +0 -39
- package/dist/esm/models/PostQuizCriteria.js +0 -46
- package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +0 -89
- package/dist/esm/models/PostQuizCriteriaCriteriaInner.js +0 -72
- package/dist/esm/models/PostQuizQuestions.d.ts +0 -39
- package/dist/esm/models/PostQuizQuestions.js +0 -46
- package/dist/esm/models/PostQuizQuestionsQuestionsInner.d.ts +0 -50
- package/dist/esm/models/PostQuizQuestionsQuestionsInner.js +0 -49
- package/dist/esm/models/PostQuizSettings.d.ts +0 -50
- package/dist/esm/models/PostQuizSettings.js +0 -47
- package/dist/esm/models/PostVerifyManifest.d.ts +0 -106
- package/dist/esm/models/PostVerifyManifest.js +0 -73
- package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +0 -74
- package/dist/esm/models/PostVerifyManifestItemsInner.js +0 -55
- package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +0 -56
- package/dist/esm/models/PostVerifyManifestResourcesInner.js +0 -49
- package/dist/esm/models/PutContent.d.ts +0 -52
- package/dist/esm/models/PutContent.js +0 -49
- package/dist/esm/models/PutContentAttemptSettings.d.ts +0 -46
- package/dist/esm/models/PutContentAttemptSettings.js +0 -50
- package/dist/esm/models/PutContentReorder.d.ts +0 -32
- package/dist/esm/models/PutContentReorder.js +0 -43
- package/dist/esm/models/PutContentVersion.d.ts +0 -32
- package/dist/esm/models/PutContentVersion.js +0 -43
- package/dist/esm/models/PutModule.d.ts +0 -44
- package/dist/esm/models/PutModule.js +0 -45
- package/dist/esm/models/PutModuleReorder.d.ts +0 -32
- package/dist/esm/models/PutModuleReorder.js +0 -43
- package/dist/esm/models/PutQuiz.d.ts +0 -107
- package/dist/esm/models/PutQuiz.js +0 -71
- package/dist/esm/models/PutQuizAnswer.d.ts +0 -39
- package/dist/esm/models/PutQuizAnswer.js +0 -46
- package/dist/esm/models/PutQuizAnswerAnswer.d.ts +0 -27
- package/dist/esm/models/PutQuizAnswerAnswer.js +0 -79
- package/dist/esm/models/PutQuizAnswerGrade.d.ts +0 -38
- package/dist/esm/models/PutQuizAnswerGrade.js +0 -45
- package/dist/esm/models/PutQuizAnswerResponse.d.ts +0 -77
- package/dist/esm/models/PutQuizAnswerResponse.js +0 -64
- package/dist/esm/models/PutQuizAnswerResponseNextQuestion.d.ts +0 -102
- package/dist/esm/models/PutQuizAnswerResponseNextQuestion.js +0 -88
- package/dist/esm/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.d.ts +0 -51
- package/dist/esm/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.js +0 -54
- package/dist/esm/models/PutQuizAnswerResponseProgress.d.ts +0 -50
- package/dist/esm/models/PutQuizAnswerResponseProgress.js +0 -55
- package/dist/esm/models/PutQuizSettings.d.ts +0 -50
- package/dist/esm/models/PutQuizSettings.js +0 -47
- package/dist/esm/models/QuizContent.d.ts +0 -60
- package/dist/esm/models/QuizContent.js +0 -62
- package/dist/esm/models/QuizContentAssignment.d.ts +0 -44
- package/dist/esm/models/QuizContentAssignment.js +0 -45
- package/dist/esm/models/QuizContentSettings.d.ts +0 -56
- package/dist/esm/models/QuizContentSettings.js +0 -49
- package/dist/esm/models/SCORMContent.d.ts +0 -44
- package/dist/esm/models/SCORMContent.js +0 -47
- package/dist/esm/models/ScormSessionData.d.ts +0 -61
- package/dist/esm/models/ScormSessionData.js +0 -54
- package/dist/esm/models/ScormSessionDataProgress.d.ts +0 -38
- package/dist/esm/models/ScormSessionDataProgress.js +0 -43
- package/dist/esm/models/ScormSessionDataScore.d.ts +0 -50
- package/dist/esm/models/ScormSessionDataScore.js +0 -47
- package/dist/esm/models/ScormSessionDataSession.d.ts +0 -32
- package/dist/esm/models/ScormSessionDataSession.js +0 -41
- package/dist/esm/models/ScormSessionDataStatus.d.ts +0 -50
- package/dist/esm/models/ScormSessionDataStatus.js +0 -47
- package/dist/esm/models/ScormSessionDataTime.d.ts +0 -50
- package/dist/esm/models/ScormSessionDataTime.js +0 -47
- package/dist/esm/models/ShortAnswer.d.ts +0 -45
- package/dist/esm/models/ShortAnswer.js +0 -53
- package/dist/esm/models/ShortAnswer1.d.ts +0 -45
- package/dist/esm/models/ShortAnswer1.js +0 -53
- package/dist/esm/models/SingleAnswer.d.ts +0 -45
- package/dist/esm/models/SingleAnswer.js +0 -53
- package/dist/models/ContentAttemptItem.d.ts +0 -69
- package/dist/models/ContentAttemptItem.js +0 -75
- package/dist/models/ContentAttemptRollupScore.d.ts +0 -38
- package/dist/models/ContentAttemptRollupScore.js +0 -54
- package/dist/models/ContentAttemptScore.d.ts +0 -50
- package/dist/models/ContentAttemptScore.js +0 -54
- package/dist/models/ContentAttemptSettings.d.ts +0 -46
- package/dist/models/ContentAttemptSettings.js +0 -62
- package/dist/models/CriteriaBasedSelection.d.ts +0 -59
- package/dist/models/CriteriaBasedSelection.js +0 -67
- package/dist/models/CriteriaBasedSelectionCriteria.d.ts +0 -71
- package/dist/models/CriteriaBasedSelectionCriteria.js +0 -74
- package/dist/models/CriteriaBasedSelectionDistribution.d.ts +0 -42
- package/dist/models/CriteriaBasedSelectionDistribution.js +0 -50
- package/dist/models/Essay.d.ts +0 -45
- package/dist/models/Essay.js +0 -61
- package/dist/models/Essay1.d.ts +0 -45
- package/dist/models/Essay1.js +0 -61
- package/dist/models/FillInBlank.d.ts +0 -45
- package/dist/models/FillInBlank.js +0 -61
- package/dist/models/FillInBlank1.d.ts +0 -45
- package/dist/models/FillInBlank1.js +0 -61
- package/dist/models/GetContent.d.ts +0 -132
- package/dist/models/GetContent.js +0 -102
- package/dist/models/GetContentAttempts.d.ts +0 -90
- package/dist/models/GetContentAttempts.js +0 -92
- package/dist/models/GetContentContentData.d.ts +0 -24
- package/dist/models/GetContentContentData.js +0 -64
- package/dist/models/GetContentGradeDetail.d.ts +0 -118
- package/dist/models/GetContentGradeDetail.js +0 -112
- package/dist/models/GetContentGrades.d.ts +0 -57
- package/dist/models/GetContentGrades.js +0 -67
- package/dist/models/GetContentGradesItemsInner.d.ts +0 -109
- package/dist/models/GetContentGradesItemsInner.js +0 -112
- package/dist/models/GetContentGradesItemsInnerUser.d.ts +0 -44
- package/dist/models/GetContentGradesItemsInnerUser.js +0 -58
- package/dist/models/GetContentInstructorBasicReporting.d.ts +0 -47
- package/dist/models/GetContentInstructorBasicReporting.js +0 -61
- package/dist/models/GetContentInstructorBasicReportingContentInfo.d.ts +0 -59
- package/dist/models/GetContentInstructorBasicReportingContentInfo.js +0 -71
- package/dist/models/GetContentInstructorBasicReportingEngagement.d.ts +0 -56
- package/dist/models/GetContentInstructorBasicReportingEngagement.js +0 -66
- package/dist/models/GetContentInstructorBasicReportingPerformance.d.ts +0 -38
- package/dist/models/GetContentInstructorBasicReportingPerformance.js +0 -54
- package/dist/models/GetContentList.d.ts +0 -57
- package/dist/models/GetContentList.js +0 -67
- package/dist/models/GetContentSession.d.ts +0 -74
- package/dist/models/GetContentSession.js +0 -78
- package/dist/models/GetContentSessionDetail.d.ts +0 -115
- package/dist/models/GetContentSessionDetail.js +0 -112
- package/dist/models/GetContentSessionDetailScormSessionDataInner.d.ts +0 -38
- package/dist/models/GetContentSessionDetailScormSessionDataInner.js +0 -54
- package/dist/models/GetContentSessionDetailUserData.d.ts +0 -38
- package/dist/models/GetContentSessionDetailUserData.js +0 -54
- package/dist/models/GetContentSessionList.d.ts +0 -57
- package/dist/models/GetContentSessionList.js +0 -67
- package/dist/models/GetContentSessionListItem.d.ts +0 -88
- package/dist/models/GetContentSessionListItem.js +0 -88
- package/dist/models/GetContentSessionListItemScormSessionData.d.ts +0 -32
- package/dist/models/GetContentSessionListItemScormSessionData.js +0 -50
- package/dist/models/GetContentUpload.d.ts +0 -44
- package/dist/models/GetContentUpload.js +0 -58
- package/dist/models/GetContentVersion.d.ts +0 -76
- package/dist/models/GetContentVersion.js +0 -78
- package/dist/models/GetContentVersionList.d.ts +0 -57
- package/dist/models/GetContentVersionList.js +0 -67
- package/dist/models/GetContentVersionListItemsInner.d.ts +0 -56
- package/dist/models/GetContentVersionListItemsInner.js +0 -66
- package/dist/models/GetContentVersionSandbox.d.ts +0 -32
- package/dist/models/GetContentVersionSandbox.js +0 -50
- package/dist/models/GetContentVersionScormData.d.ts +0 -32
- package/dist/models/GetContentVersionScormData.js +0 -50
- package/dist/models/GetCourseReportingBasic.d.ts +0 -44
- package/dist/models/GetCourseReportingBasic.js +0 -58
- package/dist/models/GetCourseStudentReporting.d.ts +0 -54
- package/dist/models/GetCourseStudentReporting.js +0 -66
- package/dist/models/GetCourseStudentReportingCourseInfo.d.ts +0 -32
- package/dist/models/GetCourseStudentReportingCourseInfo.js +0 -50
- package/dist/models/GetCourseStudentReportingEngagement.d.ts +0 -38
- package/dist/models/GetCourseStudentReportingEngagement.js +0 -54
- package/dist/models/GetCourseStudentReportingModulesInner.d.ts +0 -71
- package/dist/models/GetCourseStudentReportingModulesInner.js +0 -79
- package/dist/models/GetCourseStudentReportingPerformance.d.ts +0 -32
- package/dist/models/GetCourseStudentReportingPerformance.js +0 -50
- package/dist/models/GetManualQuestionSelectionItem.d.ts +0 -75
- package/dist/models/GetManualQuestionSelectionItem.js +0 -79
- package/dist/models/GetManualQuestionSelectionList.d.ts +0 -63
- package/dist/models/GetManualQuestionSelectionList.js +0 -71
- package/dist/models/GetModule.d.ts +0 -62
- package/dist/models/GetModule.js +0 -69
- package/dist/models/GetModuleInstructorBasicReporting.d.ts +0 -47
- package/dist/models/GetModuleInstructorBasicReporting.js +0 -61
- package/dist/models/GetModuleInstructorBasicReportingEngagement.d.ts +0 -56
- package/dist/models/GetModuleInstructorBasicReportingEngagement.js +0 -66
- package/dist/models/GetModuleInstructorBasicReportingModuleInfo.d.ts +0 -32
- package/dist/models/GetModuleInstructorBasicReportingModuleInfo.js +0 -50
- package/dist/models/GetModuleInstructorBasicReportingPerformance.d.ts +0 -32
- package/dist/models/GetModuleInstructorBasicReportingPerformance.js +0 -50
- package/dist/models/GetModuleList.d.ts +0 -57
- package/dist/models/GetModuleList.js +0 -67
- package/dist/models/GetModuleStudentReporting.d.ts +0 -54
- package/dist/models/GetModuleStudentReporting.js +0 -66
- package/dist/models/GetModuleStudentReportingAccess.d.ts +0 -38
- package/dist/models/GetModuleStudentReportingAccess.js +0 -54
- package/dist/models/GetModuleStudentReportingContentsInner.d.ts +0 -101
- package/dist/models/GetModuleStudentReportingContentsInner.js +0 -99
- package/dist/models/GetModuleStudentReportingProgress.d.ts +0 -38
- package/dist/models/GetModuleStudentReportingProgress.js +0 -54
- package/dist/models/GetPortalBasicReporting.d.ts +0 -40
- package/dist/models/GetPortalBasicReporting.js +0 -56
- package/dist/models/GetPortalBasicReportingCertificates.d.ts +0 -32
- package/dist/models/GetPortalBasicReportingCertificates.js +0 -50
- package/dist/models/GetPortalBasicReportingPortalInfo.d.ts +0 -44
- package/dist/models/GetPortalBasicReportingPortalInfo.js +0 -58
- package/dist/models/GetPortalStudentReporting.d.ts +0 -40
- package/dist/models/GetPortalStudentReporting.js +0 -56
- package/dist/models/GetPortalStudentReportingCertificates.d.ts +0 -32
- package/dist/models/GetPortalStudentReportingCertificates.js +0 -50
- package/dist/models/GetPortalStudentReportingPortalInfo.d.ts +0 -44
- package/dist/models/GetPortalStudentReportingPortalInfo.js +0 -58
- package/dist/models/GetQuiz.d.ts +0 -143
- package/dist/models/GetQuiz.js +0 -107
- package/dist/models/GetQuizAttempt.d.ts +0 -47
- package/dist/models/GetQuizAttempt.js +0 -61
- package/dist/models/GetQuizAttemptAnalytics.d.ts +0 -72
- package/dist/models/GetQuizAttemptAnalytics.js +0 -78
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.d.ts +0 -84
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.js +0 -84
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdown.d.ts +0 -47
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdown.js +0 -61
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.d.ts +0 -71
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.js +0 -79
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +0 -74
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.js +0 -82
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.d.ts +0 -62
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.js +0 -70
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +0 -127
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +0 -112
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.d.ts +0 -44
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.js +0 -52
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.d.ts +0 -44
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.js +0 -52
- package/dist/models/GetQuizAttemptAnalyticsScoring.d.ts +0 -74
- package/dist/models/GetQuizAttemptAnalyticsScoring.js +0 -70
- package/dist/models/GetQuizAttemptAttempt.d.ts +0 -120
- package/dist/models/GetQuizAttemptAttempt.js +0 -106
- package/dist/models/GetQuizAttemptList.d.ts +0 -71
- package/dist/models/GetQuizAttemptList.js +0 -75
- package/dist/models/GetQuizAttemptListAllOfAttempts.d.ts +0 -144
- package/dist/models/GetQuizAttemptListAllOfAttempts.js +0 -116
- package/dist/models/GetQuizAttemptListAllOfFilters.d.ts +0 -73
- package/dist/models/GetQuizAttemptListAllOfFilters.js +0 -69
- package/dist/models/GetQuizAttemptListAllOfFiltersDateRange.d.ts +0 -38
- package/dist/models/GetQuizAttemptListAllOfFiltersDateRange.js +0 -50
- package/dist/models/GetQuizAttemptListAllOfSummary.d.ts +0 -62
- package/dist/models/GetQuizAttemptListAllOfSummary.js +0 -64
- package/dist/models/GetQuizAttemptQuestionsInner.d.ts +0 -107
- package/dist/models/GetQuizAttemptQuestionsInner.js +0 -97
- package/dist/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +0 -51
- package/dist/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.js +0 -61
- package/dist/models/GetQuizAttemptQuestionsInnerCurrentAnswer.d.ts +0 -50
- package/dist/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +0 -54
- package/dist/models/GetQuizAttemptQuizSettings.d.ts +0 -62
- package/dist/models/GetQuizAttemptQuizSettings.js +0 -64
- package/dist/models/GetQuizCriteria.d.ts +0 -46
- package/dist/models/GetQuizCriteria.js +0 -60
- package/dist/models/GetQuizCriteriaEstimatedQuestions.d.ts +0 -44
- package/dist/models/GetQuizCriteriaEstimatedQuestions.js +0 -58
- package/dist/models/GetQuizCriteriaItem.d.ts +0 -119
- package/dist/models/GetQuizCriteriaItem.js +0 -102
- package/dist/models/GetQuizCriteriaList.d.ts +0 -57
- package/dist/models/GetQuizCriteriaList.js +0 -67
- package/dist/models/GetQuizCriteriaListItemsInner.d.ts +0 -119
- package/dist/models/GetQuizCriteriaListItemsInner.js +0 -102
- package/dist/models/GetQuizList.d.ts +0 -64
- package/dist/models/GetQuizList.js +0 -70
- package/dist/models/GetQuizListAllOfFilters.d.ts +0 -64
- package/dist/models/GetQuizListAllOfFilters.js +0 -64
- package/dist/models/GetQuizListAllOfQuizzes.d.ts +0 -131
- package/dist/models/GetQuizListAllOfQuizzes.js +0 -105
- package/dist/models/GetQuizListAllOfStatistics.d.ts +0 -56
- package/dist/models/GetQuizListAllOfStatistics.js +0 -56
- package/dist/models/GetQuizQuestions.d.ts +0 -83
- package/dist/models/GetQuizQuestions.js +0 -87
- package/dist/models/GetQuizQuestionsItemsInner.d.ts +0 -75
- package/dist/models/GetQuizQuestionsItemsInner.js +0 -79
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +0 -102
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.js +0 -93
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.d.ts +0 -56
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.js +0 -66
- package/dist/models/GetQuizResults.d.ts +0 -100
- package/dist/models/GetQuizResults.js +0 -98
- package/dist/models/GetQuizResultsFeedback.d.ts +0 -46
- package/dist/models/GetQuizResultsFeedback.js +0 -54
- package/dist/models/GetQuizResultsFeedbackDifficultyPerformanceInner.d.ts +0 -59
- package/dist/models/GetQuizResultsFeedbackDifficultyPerformanceInner.js +0 -71
- package/dist/models/GetQuizResultsFeedbackTopicPerformanceInner.d.ts +0 -50
- package/dist/models/GetQuizResultsFeedbackTopicPerformanceInner.js +0 -62
- package/dist/models/GetQuizResultsQuestionsInner.d.ts +0 -107
- package/dist/models/GetQuizResultsQuestionsInner.js +0 -93
- package/dist/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.d.ts +0 -57
- package/dist/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.js +0 -65
- package/dist/models/GetQuizResultsQuestionsInnerStudentAnswer.d.ts +0 -56
- package/dist/models/GetQuizResultsQuestionsInnerStudentAnswer.js +0 -56
- package/dist/models/GetQuizResultsScore.d.ts +0 -50
- package/dist/models/GetQuizResultsScore.js +0 -54
- package/dist/models/GetQuizResultsTiming.d.ts +0 -56
- package/dist/models/GetQuizResultsTiming.js +0 -56
- package/dist/models/GetQuizStatistics.d.ts +0 -56
- package/dist/models/GetQuizStatistics.js +0 -56
- package/dist/models/GetScormApiLogItem.d.ts +0 -73
- package/dist/models/GetScormApiLogItem.js +0 -81
- package/dist/models/GetScormApiLogs.d.ts +0 -57
- package/dist/models/GetScormApiLogs.js +0 -67
- package/dist/models/GetScormPackage.d.ts +0 -39
- package/dist/models/GetScormPackage.js +0 -55
- package/dist/models/GetScormPackagePackageInfo.d.ts +0 -104
- package/dist/models/GetScormPackagePackageInfo.js +0 -88
- package/dist/models/GetScormSessionData.d.ts +0 -59
- package/dist/models/GetScormSessionData.js +0 -67
- package/dist/models/GetScormSessionDataActivity.d.ts +0 -38
- package/dist/models/GetScormSessionDataActivity.js +0 -54
- package/dist/models/GetUserQuizAttempts.d.ts +0 -71
- package/dist/models/GetUserQuizAttempts.js +0 -75
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.d.ts +0 -150
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.js +0 -116
- package/dist/models/GetUserQuizAttemptsAllOfFilters.d.ts +0 -79
- package/dist/models/GetUserQuizAttemptsAllOfFilters.js +0 -71
- package/dist/models/GetUserQuizAttemptsAllOfSummary.d.ts +0 -68
- package/dist/models/GetUserQuizAttemptsAllOfSummary.js +0 -70
- package/dist/models/ManualSelection.d.ts +0 -45
- package/dist/models/ManualSelection.js +0 -61
- package/dist/models/Matching.d.ts +0 -46
- package/dist/models/Matching.js +0 -62
- package/dist/models/Matching1.d.ts +0 -46
- package/dist/models/Matching1.js +0 -62
- package/dist/models/Matching1PairsInner.d.ts +0 -38
- package/dist/models/Matching1PairsInner.js +0 -54
- package/dist/models/MatchingPairsInner.d.ts +0 -38
- package/dist/models/MatchingPairsInner.js +0 -54
- package/dist/models/MediaContent.d.ts +0 -44
- package/dist/models/MediaContent.js +0 -54
- package/dist/models/MultipleAnswer.d.ts +0 -45
- package/dist/models/MultipleAnswer.js +0 -61
- package/dist/models/MultipleAnswer1.d.ts +0 -45
- package/dist/models/MultipleAnswer1.js +0 -61
- package/dist/models/NoAnswer.d.ts +0 -39
- package/dist/models/NoAnswer.js +0 -57
- package/dist/models/PostContentQuiz.d.ts +0 -65
- package/dist/models/PostContentQuiz.js +0 -67
- package/dist/models/PostContentQuizAssignment.d.ts +0 -50
- package/dist/models/PostContentQuizAssignment.js +0 -54
- package/dist/models/PostContentQuizQuestionSelection.d.ts +0 -23
- package/dist/models/PostContentQuizQuestionSelection.js +0 -57
- package/dist/models/PostContentQuizSettings.d.ts +0 -80
- package/dist/models/PostContentQuizSettings.js +0 -64
- package/dist/models/PostContentSession.d.ts +0 -75
- package/dist/models/PostContentSession.js +0 -77
- package/dist/models/PostContentUpload.d.ts +0 -61
- package/dist/models/PostContentUpload.js +0 -73
- package/dist/models/PostDuplicate1.d.ts +0 -32
- package/dist/models/PostDuplicate1.js +0 -48
- package/dist/models/PostDuplicate2.d.ts +0 -32
- package/dist/models/PostDuplicate2.js +0 -48
- package/dist/models/PostManualQuestionSelection.d.ts +0 -50
- package/dist/models/PostManualQuestionSelection.js +0 -56
- package/dist/models/PostModule.d.ts +0 -44
- package/dist/models/PostModule.js +0 -56
- package/dist/models/PostQuiz.d.ts +0 -113
- package/dist/models/PostQuiz.js +0 -85
- package/dist/models/PostQuizAttempt.d.ts +0 -47
- package/dist/models/PostQuizAttempt.js +0 -61
- package/dist/models/PostQuizAttemptAttempt.d.ts +0 -99
- package/dist/models/PostQuizAttemptAttempt.js +0 -95
- package/dist/models/PostQuizAttemptQuestionsInner.d.ts +0 -94
- package/dist/models/PostQuizAttemptQuestionsInner.js +0 -92
- package/dist/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.d.ts +0 -51
- package/dist/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.js +0 -61
- package/dist/models/PostQuizAttemptQuizSettings.d.ts +0 -62
- package/dist/models/PostQuizAttemptQuizSettings.js +0 -62
- package/dist/models/PostQuizAttemptSubmit.d.ts +0 -54
- package/dist/models/PostQuizAttemptSubmit.js +0 -68
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInner.d.ts +0 -39
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInner.js +0 -55
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.d.ts +0 -28
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +0 -92
- package/dist/models/PostQuizCriteria.d.ts +0 -39
- package/dist/models/PostQuizCriteria.js +0 -53
- package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +0 -89
- package/dist/models/PostQuizCriteriaCriteriaInner.js +0 -80
- package/dist/models/PostQuizQuestions.d.ts +0 -39
- package/dist/models/PostQuizQuestions.js +0 -53
- package/dist/models/PostQuizQuestionsQuestionsInner.d.ts +0 -50
- package/dist/models/PostQuizQuestionsQuestionsInner.js +0 -56
- package/dist/models/PostQuizSettings.d.ts +0 -50
- package/dist/models/PostQuizSettings.js +0 -54
- package/dist/models/PostVerifyManifest.d.ts +0 -106
- package/dist/models/PostVerifyManifest.js +0 -80
- package/dist/models/PostVerifyManifestItemsInner.d.ts +0 -74
- package/dist/models/PostVerifyManifestItemsInner.js +0 -62
- package/dist/models/PostVerifyManifestResourcesInner.d.ts +0 -56
- package/dist/models/PostVerifyManifestResourcesInner.js +0 -56
- package/dist/models/PutContent.d.ts +0 -52
- package/dist/models/PutContent.js +0 -56
- package/dist/models/PutContentAttemptSettings.d.ts +0 -46
- package/dist/models/PutContentAttemptSettings.js +0 -58
- package/dist/models/PutContentReorder.d.ts +0 -32
- package/dist/models/PutContentReorder.js +0 -50
- package/dist/models/PutContentVersion.d.ts +0 -32
- package/dist/models/PutContentVersion.js +0 -50
- package/dist/models/PutModule.d.ts +0 -44
- package/dist/models/PutModule.js +0 -52
- package/dist/models/PutModuleReorder.d.ts +0 -32
- package/dist/models/PutModuleReorder.js +0 -50
- package/dist/models/PutQuiz.d.ts +0 -107
- package/dist/models/PutQuiz.js +0 -79
- package/dist/models/PutQuizAnswer.d.ts +0 -39
- package/dist/models/PutQuizAnswer.js +0 -53
- package/dist/models/PutQuizAnswerAnswer.d.ts +0 -27
- package/dist/models/PutQuizAnswerAnswer.js +0 -85
- package/dist/models/PutQuizAnswerGrade.d.ts +0 -38
- package/dist/models/PutQuizAnswerGrade.js +0 -52
- package/dist/models/PutQuizAnswerResponse.d.ts +0 -77
- package/dist/models/PutQuizAnswerResponse.js +0 -71
- package/dist/models/PutQuizAnswerResponseNextQuestion.d.ts +0 -102
- package/dist/models/PutQuizAnswerResponseNextQuestion.js +0 -96
- package/dist/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.d.ts +0 -51
- package/dist/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.js +0 -61
- package/dist/models/PutQuizAnswerResponseProgress.d.ts +0 -50
- package/dist/models/PutQuizAnswerResponseProgress.js +0 -62
- package/dist/models/PutQuizSettings.d.ts +0 -50
- package/dist/models/PutQuizSettings.js +0 -54
- package/dist/models/QuizContent.d.ts +0 -60
- package/dist/models/QuizContent.js +0 -70
- package/dist/models/QuizContentAssignment.d.ts +0 -44
- package/dist/models/QuizContentAssignment.js +0 -52
- package/dist/models/QuizContentSettings.d.ts +0 -56
- package/dist/models/QuizContentSettings.js +0 -56
- package/dist/models/SCORMContent.d.ts +0 -44
- package/dist/models/SCORMContent.js +0 -54
- package/dist/models/ScormSessionData.d.ts +0 -61
- package/dist/models/ScormSessionData.js +0 -61
- package/dist/models/ScormSessionDataProgress.d.ts +0 -38
- package/dist/models/ScormSessionDataProgress.js +0 -50
- package/dist/models/ScormSessionDataScore.d.ts +0 -50
- package/dist/models/ScormSessionDataScore.js +0 -54
- package/dist/models/ScormSessionDataSession.d.ts +0 -32
- package/dist/models/ScormSessionDataSession.js +0 -48
- package/dist/models/ScormSessionDataStatus.d.ts +0 -50
- package/dist/models/ScormSessionDataStatus.js +0 -54
- package/dist/models/ScormSessionDataTime.d.ts +0 -50
- package/dist/models/ScormSessionDataTime.js +0 -54
- package/dist/models/ShortAnswer.d.ts +0 -45
- package/dist/models/ShortAnswer.js +0 -61
- package/dist/models/ShortAnswer1.d.ts +0 -45
- package/dist/models/ShortAnswer1.js +0 -61
- package/dist/models/SingleAnswer.d.ts +0 -45
- package/dist/models/SingleAnswer.js +0 -61
- package/docs/ContentApi.md +0 -2198
- package/docs/ContentAttemptItem.md +0 -47
- package/docs/ContentAttemptRollupScore.md +0 -37
- package/docs/ContentAttemptScore.md +0 -41
- package/docs/ContentAttemptSettings.md +0 -36
- package/docs/CriteriaBasedSelection.md +0 -40
- package/docs/CriteriaBasedSelectionCriteria.md +0 -40
- package/docs/CriteriaBasedSelectionDistribution.md +0 -37
- package/docs/FillInBlank.md +0 -36
- package/docs/FillInBlank1.md +0 -36
- package/docs/GetContent.md +0 -62
- package/docs/GetContentAttempts.md +0 -51
- package/docs/GetContentContentData.md +0 -53
- package/docs/GetContentGradeDetail.md +0 -50
- package/docs/GetContentGrades.md +0 -42
- package/docs/GetContentGradesItemsInner.md +0 -44
- package/docs/GetContentGradesItemsInnerUser.md +0 -38
- package/docs/GetContentInstructorBasicReporting.md +0 -38
- package/docs/GetContentInstructorBasicReportingContentInfo.md +0 -38
- package/docs/GetContentInstructorBasicReportingEngagement.md +0 -42
- package/docs/GetContentInstructorBasicReportingPerformance.md +0 -36
- package/docs/GetContentList.md +0 -43
- package/docs/GetContentSession.md +0 -49
- package/docs/GetContentSessionDetail.md +0 -55
- package/docs/GetContentSessionDetailScormSessionDataInner.md +0 -36
- package/docs/GetContentSessionDetailUserData.md +0 -36
- package/docs/GetContentSessionList.md +0 -43
- package/docs/GetContentSessionListItem.md +0 -53
- package/docs/GetContentSessionListItemScormSessionData.md +0 -35
- package/docs/GetContentVersion.md +0 -49
- package/docs/GetContentVersionList.md +0 -43
- package/docs/GetContentVersionListItemsInner.md +0 -42
- package/docs/GetContentVersionSandbox.md +0 -35
- package/docs/GetContentVersionScormData.md +0 -35
- package/docs/GetCourseReportingBasic.md +0 -38
- package/docs/GetCourseStudentReporting.md +0 -40
- package/docs/GetCourseStudentReportingCourseInfo.md +0 -34
- package/docs/GetCourseStudentReportingEngagement.md +0 -36
- package/docs/GetCourseStudentReportingModulesInner.md +0 -44
- package/docs/GetCourseStudentReportingPerformance.md +0 -34
- package/docs/GetManualQuestionSelectionItem.md +0 -48
- package/docs/GetManualQuestionSelectionList.md +0 -44
- package/docs/GetModule.md +0 -44
- package/docs/GetModuleInstructorBasicReporting.md +0 -38
- package/docs/GetModuleInstructorBasicReportingModuleInfo.md +0 -34
- package/docs/GetModuleInstructorBasicReportingPerformance.md +0 -34
- package/docs/GetModuleList.md +0 -43
- package/docs/GetModuleStudentReporting.md +0 -40
- package/docs/GetModuleStudentReportingAccess.md +0 -36
- package/docs/GetModuleStudentReportingContentsInner.md +0 -54
- package/docs/GetModuleStudentReportingProgress.md +0 -36
- package/docs/GetPortalBasicReporting.md +0 -36
- package/docs/GetPortalBasicReportingCertificates.md +0 -34
- package/docs/GetPortalBasicReportingPortalInfo.md +0 -38
- package/docs/GetPortalStudentReporting.md +0 -36
- package/docs/GetPortalStudentReportingCertificates.md +0 -34
- package/docs/GetPortalStudentReportingPortalInfo.md +0 -38
- package/docs/GetQuiz.md +0 -68
- package/docs/GetQuizAttempt.md +0 -38
- package/docs/GetQuizAttemptAnalytics.md +0 -46
- package/docs/GetQuizAttemptAnalyticsBasicInfo.md +0 -49
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md +0 -39
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md +0 -44
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md +0 -44
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md +0 -44
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md +0 -58
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md +0 -39
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md +0 -39
- package/docs/GetQuizAttemptAnalyticsScoring.md +0 -49
- package/docs/GetQuizAttemptAttempt.md +0 -61
- package/docs/GetQuizAttemptList.md +0 -46
- package/docs/GetQuizAttemptListAllOfAttempts.md +0 -68
- package/docs/GetQuizAttemptListAllOfFilters.md +0 -45
- package/docs/GetQuizAttemptListAllOfFiltersDateRange.md +0 -37
- package/docs/GetQuizAttemptListAllOfSummary.md +0 -45
- package/docs/GetQuizAttemptQuestionsInner.md +0 -54
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +0 -40
- package/docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md +0 -41
- package/docs/GetQuizAttemptQuizSettings.md +0 -45
- package/docs/GetQuizCriteria.md +0 -38
- package/docs/GetQuizCriteriaEstimatedQuestions.md +0 -39
- package/docs/GetQuizCriteriaItem.md +0 -56
- package/docs/GetQuizCriteriaList.md +0 -42
- package/docs/GetQuizCriteriaListItemsInner.md +0 -56
- package/docs/GetQuizList.md +0 -44
- package/docs/GetQuizListAllOfFilters.md +0 -43
- package/docs/GetQuizListAllOfQuizzes.md +0 -64
- package/docs/GetQuizListAllOfStatistics.md +0 -43
- package/docs/GetQuizQuestions.md +0 -48
- package/docs/GetQuizQuestionsItemsInner.md +0 -48
- package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +0 -51
- package/docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md +0 -42
- package/docs/GetQuizResults.md +0 -52
- package/docs/GetQuizResultsFeedback.md +0 -39
- package/docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md +0 -40
- package/docs/GetQuizResultsFeedbackTopicPerformanceInner.md +0 -40
- package/docs/GetQuizResultsQuestionsInner.md +0 -54
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +0 -42
- package/docs/GetQuizResultsQuestionsInnerStudentAnswer.md +0 -43
- package/docs/GetQuizResultsScore.md +0 -41
- package/docs/GetQuizResultsTiming.md +0 -43
- package/docs/GetQuizStatistics.md +0 -43
- package/docs/GetScormApiLogItem.md +0 -45
- package/docs/GetScormApiLogs.md +0 -43
- package/docs/GetScormPackage.md +0 -37
- package/docs/GetScormPackagePackageInfo.md +0 -59
- package/docs/GetScormSessionData.md +0 -43
- package/docs/GetScormSessionDataActivity.md +0 -36
- package/docs/GetUserQuizAttempts.md +0 -46
- package/docs/GetUserQuizAttemptsAllOfAttempts.md +0 -70
- package/docs/GetUserQuizAttemptsAllOfFilters.md +0 -47
- package/docs/GetUserQuizAttemptsAllOfSummary.md +0 -47
- package/docs/ManualSelection.md +0 -36
- package/docs/Matching.md +0 -36
- package/docs/Matching1.md +0 -36
- package/docs/Matching1PairsInner.md +0 -36
- package/docs/MatchingPairsInner.md +0 -36
- package/docs/MediaContent.md +0 -38
- package/docs/ModuleApi.md +0 -501
- package/docs/MultipleAnswer.md +0 -36
- package/docs/MultipleAnswer1.md +0 -36
- package/docs/NoAnswer.md +0 -34
- package/docs/PostContentQuiz.md +0 -44
- package/docs/PostContentQuizAssignment.md +0 -41
- package/docs/PostContentQuizQuestionSelection.md +0 -43
- package/docs/PostContentQuizSettings.md +0 -51
- package/docs/PostContentSession.md +0 -49
- package/docs/PostContentUpload.md +0 -38
- package/docs/PostDuplicate1.md +0 -35
- package/docs/PostDuplicate2.md +0 -35
- package/docs/PostManualQuestionSelection.md +0 -40
- package/docs/PostQuiz.md +0 -58
- package/docs/PostQuizAttempt.md +0 -38
- package/docs/PostQuizAttemptAttempt.md +0 -55
- package/docs/PostQuizAttemptQuestionsInner.md +0 -50
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +0 -40
- package/docs/PostQuizAttemptQuizSettings.md +0 -45
- package/docs/PostQuizAttemptSubmit.md +0 -38
- package/docs/PostQuizAttemptSubmitFinalAnswersInner.md +0 -36
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +0 -43
- package/docs/PostQuizCriteria.md +0 -36
- package/docs/PostQuizCriteriaCriteriaInner.md +0 -47
- package/docs/PostQuizQuestions.md +0 -36
- package/docs/PostQuizQuestionsQuestionsInner.md +0 -40
- package/docs/PostQuizSettings.md +0 -41
- package/docs/PostVerifyManifest.md +0 -59
- package/docs/PostVerifyManifestItemsInner.md +0 -48
- package/docs/PostVerifyManifestResourcesInner.md +0 -42
- package/docs/PutContent.md +0 -40
- package/docs/PutContentAttemptSettings.md +0 -36
- package/docs/PutContentReorder.md +0 -34
- package/docs/PutContentVersion.md +0 -35
- package/docs/PutModuleReorder.md +0 -34
- package/docs/PutQuiz.md +0 -56
- package/docs/PutQuizAnswer.md +0 -36
- package/docs/PutQuizAnswerAnswer.md +0 -43
- package/docs/PutQuizAnswerGrade.md +0 -36
- package/docs/PutQuizAnswerResponse.md +0 -48
- package/docs/PutQuizAnswerResponseNextQuestion.md +0 -52
- package/docs/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.md +0 -40
- package/docs/PutQuizAnswerResponseProgress.md +0 -40
- package/docs/PutQuizSettings.md +0 -41
- package/docs/QuizApi.md +0 -1871
- package/docs/QuizContent.md +0 -40
- package/docs/QuizContentAssignment.md +0 -39
- package/docs/QuizContentSettings.md +0 -43
- package/docs/SCORMContent.md +0 -38
- package/docs/ScormSessionData.md +0 -43
- package/docs/ScormSessionDataProgress.md +0 -36
- package/docs/ScormSessionDataScore.md +0 -40
- package/docs/ScormSessionDataSession.md +0 -34
- package/docs/ScormSessionDataStatus.md +0 -40
- package/docs/ScormSessionDataTime.md +0 -40
- package/docs/ShortAnswer.md +0 -36
- package/docs/ShortAnswer1.md +0 -36
- package/docs/SingleAnswer.md +0 -36
- package/src/apis/ContentApi.ts +0 -2136
- package/src/apis/ModuleApi.ts +0 -470
- package/src/apis/QuizApi.ts +0 -1676
- package/src/models/ContentAttemptItem.ts +0 -128
- package/src/models/ContentAttemptRollupScore.ts +0 -75
- package/src/models/ContentAttemptScore.ts +0 -89
- package/src/models/ContentAttemptSettings.ts +0 -86
- package/src/models/CriteriaBasedSelection.ts +0 -116
- package/src/models/CriteriaBasedSelectionCriteria.ts +0 -114
- package/src/models/CriteriaBasedSelectionDistribution.ts +0 -73
- package/src/models/Essay.ts +0 -85
- package/src/models/Essay1.ts +0 -85
- package/src/models/FillInBlank.ts +0 -85
- package/src/models/FillInBlank1.ts +0 -85
- package/src/models/GetContent.ts +0 -217
- package/src/models/GetContentAttempts.ts +0 -164
- package/src/models/GetContentContentData.ts +0 -89
- package/src/models/GetContentGradeDetail.ts +0 -191
- package/src/models/GetContentGrades.ts +0 -110
- package/src/models/GetContentGradesItemsInner.ts +0 -170
- package/src/models/GetContentGradesItemsInnerUser.ts +0 -84
- package/src/models/GetContentInstructorBasicReporting.ts +0 -106
- package/src/models/GetContentInstructorBasicReportingContentInfo.ts +0 -101
- package/src/models/GetContentInstructorBasicReportingEngagement.ts +0 -102
- package/src/models/GetContentInstructorBasicReportingPerformance.ts +0 -75
- package/src/models/GetContentList.ts +0 -110
- package/src/models/GetContentSession.ts +0 -129
- package/src/models/GetContentSessionDetail.ts +0 -196
- package/src/models/GetContentSessionDetailScormSessionDataInner.ts +0 -75
- package/src/models/GetContentSessionDetailUserData.ts +0 -75
- package/src/models/GetContentSessionList.ts +0 -110
- package/src/models/GetContentSessionListItem.ts +0 -162
- package/src/models/GetContentSessionListItemScormSessionData.ts +0 -66
- package/src/models/GetContentUpload.ts +0 -84
- package/src/models/GetContentVersion.ts +0 -143
- package/src/models/GetContentVersionList.ts +0 -110
- package/src/models/GetContentVersionListItemsInner.ts +0 -102
- package/src/models/GetContentVersionSandbox.ts +0 -66
- package/src/models/GetContentVersionScormData.ts +0 -66
- package/src/models/GetCourseReportingBasic.ts +0 -84
- package/src/models/GetCourseStudentReporting.ts +0 -122
- package/src/models/GetCourseStudentReportingCourseInfo.ts +0 -66
- package/src/models/GetCourseStudentReportingEngagement.ts +0 -75
- package/src/models/GetCourseStudentReportingModulesInner.ts +0 -123
- package/src/models/GetCourseStudentReportingPerformance.ts +0 -66
- package/src/models/GetManualQuestionSelectionItem.ts +0 -137
- package/src/models/GetManualQuestionSelectionList.ts +0 -119
- package/src/models/GetModule.ts +0 -110
- package/src/models/GetModuleInstructorBasicReporting.ts +0 -106
- package/src/models/GetModuleInstructorBasicReportingEngagement.ts +0 -102
- package/src/models/GetModuleInstructorBasicReportingModuleInfo.ts +0 -66
- package/src/models/GetModuleInstructorBasicReportingPerformance.ts +0 -66
- package/src/models/GetModuleList.ts +0 -110
- package/src/models/GetModuleStudentReporting.ts +0 -122
- package/src/models/GetModuleStudentReportingAccess.ts +0 -75
- package/src/models/GetModuleStudentReportingContentsInner.ts +0 -168
- package/src/models/GetModuleStudentReportingProgress.ts +0 -75
- package/src/models/GetPortalBasicReporting.ts +0 -90
- package/src/models/GetPortalBasicReportingCertificates.ts +0 -66
- package/src/models/GetPortalBasicReportingPortalInfo.ts +0 -84
- package/src/models/GetPortalStudentReporting.ts +0 -90
- package/src/models/GetPortalStudentReportingCertificates.ts +0 -66
- package/src/models/GetPortalStudentReportingPortalInfo.ts +0 -84
- package/src/models/GetQuiz.ts +0 -228
- package/src/models/GetQuizAttempt.ts +0 -106
- package/src/models/GetQuizAttemptAnalytics.ts +0 -149
- package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +0 -140
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdown.ts +0 -106
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.ts +0 -123
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.ts +0 -126
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.ts +0 -111
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +0 -210
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.ts +0 -81
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.ts +0 -81
- package/src/models/GetQuizAttemptAnalyticsScoring.ts +0 -125
- package/src/models/GetQuizAttemptAttempt.ts +0 -193
- package/src/models/GetQuizAttemptList.ts +0 -141
- package/src/models/GetQuizAttemptListAllOfAttempts.ts +0 -226
- package/src/models/GetQuizAttemptListAllOfFilters.ts +0 -126
- package/src/models/GetQuizAttemptListAllOfFiltersDateRange.ts +0 -73
- package/src/models/GetQuizAttemptListAllOfSummary.ts +0 -108
- package/src/models/GetQuizAttemptQuestionsInner.ts +0 -189
- package/src/models/GetQuizAttemptQuestionsInnerAnswerChoicesInner.ts +0 -100
- package/src/models/GetQuizAttemptQuestionsInnerCurrentAnswer.ts +0 -89
- package/src/models/GetQuizAttemptQuizSettings.ts +0 -108
- package/src/models/GetQuizCriteria.ts +0 -99
- package/src/models/GetQuizCriteriaEstimatedQuestions.ts +0 -84
- package/src/models/GetQuizCriteriaItem.ts +0 -184
- package/src/models/GetQuizCriteriaList.ts +0 -110
- package/src/models/GetQuizCriteriaListItemsInner.ts +0 -184
- package/src/models/GetQuizList.ts +0 -125
- package/src/models/GetQuizListAllOfFilters.ts +0 -108
- package/src/models/GetQuizListAllOfQuizzes.ts +0 -213
- package/src/models/GetQuizListAllOfStatistics.ts +0 -97
- package/src/models/GetQuizQuestions.ts +0 -148
- package/src/models/GetQuizQuestionsItemsInner.ts +0 -137
- package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +0 -166
- package/src/models/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.ts +0 -102
- package/src/models/GetQuizResults.ts +0 -188
- package/src/models/GetQuizResultsFeedback.ts +0 -96
- package/src/models/GetQuizResultsFeedbackDifficultyPerformanceInner.ts +0 -105
- package/src/models/GetQuizResultsFeedbackTopicPerformanceInner.ts +0 -93
- package/src/models/GetQuizResultsQuestionsInner.ts +0 -187
- package/src/models/GetQuizResultsQuestionsInnerAnswerChoicesInner.ts +0 -109
- package/src/models/GetQuizResultsQuestionsInnerStudentAnswer.ts +0 -97
- package/src/models/GetQuizResultsScore.ts +0 -89
- package/src/models/GetQuizResultsTiming.ts +0 -97
- package/src/models/GetQuizStatistics.ts +0 -97
- package/src/models/GetScormApiLogItem.ts +0 -125
- package/src/models/GetScormApiLogs.ts +0 -110
- package/src/models/GetScormPackage.ts +0 -83
- package/src/models/GetScormPackagePackageInfo.ts +0 -169
- package/src/models/GetScormSessionData.ts +0 -110
- package/src/models/GetScormSessionDataActivity.ts +0 -75
- package/src/models/GetUserQuizAttempts.ts +0 -141
- package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +0 -233
- package/src/models/GetUserQuizAttemptsAllOfFilters.ts +0 -134
- package/src/models/GetUserQuizAttemptsAllOfSummary.ts +0 -118
- package/src/models/ManualSelection.ts +0 -85
- package/src/models/Matching.ts +0 -93
- package/src/models/Matching1.ts +0 -93
- package/src/models/Matching1PairsInner.ts +0 -75
- package/src/models/MatchingPairsInner.ts +0 -75
- package/src/models/MediaContent.ts +0 -82
- package/src/models/MultipleAnswer.ts +0 -85
- package/src/models/MultipleAnswer1.ts +0 -85
- package/src/models/NoAnswer.ts +0 -76
- package/src/models/PostContentQuiz.ts +0 -130
- package/src/models/PostContentQuizAssignment.ts +0 -89
- package/src/models/PostContentQuizQuestionSelection.ts +0 -76
- package/src/models/PostContentQuizSettings.ts +0 -129
- package/src/models/PostContentSession.ts +0 -138
- package/src/models/PostContentUpload.ts +0 -103
- package/src/models/PostDuplicate1.ts +0 -65
- package/src/models/PostDuplicate2.ts +0 -65
- package/src/models/PostManualQuestionSelection.ts +0 -90
- package/src/models/PostModule.ts +0 -83
- package/src/models/PostQuiz.ts +0 -182
- package/src/models/PostQuizAttempt.ts +0 -106
- package/src/models/PostQuizAttemptAttempt.ts +0 -165
- package/src/models/PostQuizAttemptQuestionsInner.ts +0 -166
- package/src/models/PostQuizAttemptQuestionsInnerAnswerChoicesInner.ts +0 -100
- package/src/models/PostQuizAttemptQuizSettings.ts +0 -107
- package/src/models/PostQuizAttemptSubmit.ts +0 -104
- package/src/models/PostQuizAttemptSubmitFinalAnswersInner.ts +0 -83
- package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +0 -141
- package/src/models/PostQuizCriteria.ts +0 -82
- package/src/models/PostQuizCriteriaCriteriaInner.ts +0 -138
- package/src/models/PostQuizQuestions.ts +0 -82
- package/src/models/PostQuizQuestionsQuestionsInner.ts +0 -90
- package/src/models/PostQuizSettings.ts +0 -89
- package/src/models/PostVerifyManifest.ts +0 -179
- package/src/models/PostVerifyManifestItemsInner.ts +0 -121
- package/src/models/PostVerifyManifestResourcesInner.ts +0 -97
- package/src/models/PutContent.ts +0 -106
- package/src/models/PutContentAttemptSettings.ts +0 -84
- package/src/models/PutContentReorder.ts +0 -66
- package/src/models/PutContentVersion.ts +0 -66
- package/src/models/PutModule.ts +0 -81
- package/src/models/PutModuleReorder.ts +0 -66
- package/src/models/PutQuiz.ts +0 -172
- package/src/models/PutQuizAnswer.ts +0 -82
- package/src/models/PutQuizAnswerAnswer.ts +0 -128
- package/src/models/PutQuizAnswerGrade.ts +0 -74
- package/src/models/PutQuizAnswerResponse.ts +0 -146
- package/src/models/PutQuizAnswerResponseNextQuestion.ts +0 -175
- package/src/models/PutQuizAnswerResponseNextQuestionAnswerChoicesInner.ts +0 -100
- package/src/models/PutQuizAnswerResponseProgress.ts +0 -93
- package/src/models/PutQuizSettings.ts +0 -89
- package/src/models/QuizContent.ts +0 -118
- package/src/models/QuizContentAssignment.ts +0 -81
- package/src/models/QuizContentSettings.ts +0 -97
- package/src/models/SCORMContent.ts +0 -82
- package/src/models/ScormSessionData.ts +0 -133
- package/src/models/ScormSessionDataProgress.ts +0 -73
- package/src/models/ScormSessionDataScore.ts +0 -89
- package/src/models/ScormSessionDataSession.ts +0 -65
- package/src/models/ScormSessionDataStatus.ts +0 -89
- package/src/models/ScormSessionDataTime.ts +0 -89
- package/src/models/ShortAnswer.ts +0 -85
- package/src/models/ShortAnswer1.ts +0 -85
- package/src/models/SingleAnswer.ts +0 -85
package/docs/ContentApi.md
DELETED
|
@@ -1,2198 +0,0 @@
|
|
|
1
|
-
# ContentApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com/stage1*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**commitScormSession**](ContentApi.md#commitscormsession) | **POST** /scorm/sessions/{scormSessionId}/commit | Commit SCORM session data |
|
|
8
|
-
| [**deleteContent**](ContentApi.md#deletecontent) | **DELETE** /courses/{courseId}/modules/{moduleId}/contents/{contentId} | Delete content by id |
|
|
9
|
-
| [**deleteContentVersion**](ContentApi.md#deletecontentversion) | **DELETE** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions/{versionId} | Delete an inactive content version |
|
|
10
|
-
| [**getContent**](ContentApi.md#getcontent) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId} | get content |
|
|
11
|
-
| [**getContentAttempts**](ContentApi.md#getcontentattempts) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/attempts | Get content attempts |
|
|
12
|
-
| [**getContentList**](ContentApi.md#getcontentlist) | **GET** /courses/{courseId}/modules/{moduleId}/contents | get content list |
|
|
13
|
-
| [**getContentSession**](ContentApi.md#getcontentsession) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/session | get content session |
|
|
14
|
-
| [**getContentSessionDetail**](ContentApi.md#getcontentsessiondetail) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/sessions/{sessionId} | Get content session details (instructor only) |
|
|
15
|
-
| [**getContentVersion**](ContentApi.md#getcontentversion) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions/{versionId} | Get details of a specific content version |
|
|
16
|
-
| [**getContentVersionList**](ContentApi.md#getcontentversionlist) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions | Get all versions of a content |
|
|
17
|
-
| [**getScormApiLogs**](ContentApi.md#getscormapilogs) | **GET** /scorm/sessions/{sessionId}/api-logs | Get SCORM API call logs (instructor only) |
|
|
18
|
-
| [**getScormPackage**](ContentApi.md#getscormpackage) | **GET** /scorm/packages/{packageId} | Get details of a SCORM package |
|
|
19
|
-
| [**getScormSessionData**](ContentApi.md#getscormsessiondata) | **GET** /scorm/sessions/{scormSessionId}/session-data | Get SCORM session data (instructor only) |
|
|
20
|
-
| [**getScormValue**](ContentApi.md#getscormvalue) | **GET** /scorm/sessions/{scormSessionId}/get-value | Get a SCORM CMI data element value |
|
|
21
|
-
| [**initializeScormSession**](ContentApi.md#initializescormsession) | **POST** /scorm/sessions/{scormSessionId}/initialize | Initialize a SCORM session |
|
|
22
|
-
| [**listContentSessions**](ContentApi.md#listcontentsessions) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/sessions | List content sessions (instructor only) |
|
|
23
|
-
| [**postContentDuplicate**](ContentApi.md#postcontentduplicate) | **POST** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/duplicate | Duplicate a content item |
|
|
24
|
-
| [**postContentProcess**](ContentApi.md#postcontentprocess) | **POST** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/process | Post a new content process |
|
|
25
|
-
| [**postContentQuiz**](ContentApi.md#postcontentquiz) | **POST** /courses/{courseId}/modules/{moduleId}/contents/quiz | Create a new quiz content |
|
|
26
|
-
| [**postContentSession**](ContentApi.md#postcontentsession) | **POST** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/session | Post a new content session |
|
|
27
|
-
| [**postContentSessionRetake**](ContentApi.md#postcontentsessionretake) | **POST** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/session/retake | Create a new retake content session |
|
|
28
|
-
| [**postContentUpload**](ContentApi.md#postcontentupload) | **POST** /courses/{courseId}/modules/{moduleId}/contents/upload | Post a new content upload |
|
|
29
|
-
| [**putContent**](ContentApi.md#putcontent) | **PUT** /courses/{courseId}/modules/{moduleId}/contents/{contentId} | Update content by id |
|
|
30
|
-
| [**putContentReorder**](ContentApi.md#putcontentreorder) | **PUT** /courses/{courseId}/modules/{moduleId}/contents/reorder | Reorder content in a module |
|
|
31
|
-
| [**putContentUploadFile**](ContentApi.md#putcontentuploadfile) | **PUT** /courses/{courseId}/modules/{moduleId}/contents/uploads/{uploadId}/file | Upload content file through the API |
|
|
32
|
-
| [**putContentVersion**](ContentApi.md#putcontentversion) | **PUT** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions/{versionId} | Update a content version |
|
|
33
|
-
| [**setScormValue**](ContentApi.md#setscormvalue) | **POST** /scorm/sessions/{scormSessionId}/set-value | Set a SCORM CMI data element value |
|
|
34
|
-
| [**terminateScormSession**](ContentApi.md#terminatescormsession) | **POST** /scorm/sessions/{scormSessionId}/terminate | Terminate a SCORM session |
|
|
35
|
-
| [**verifyScormManifest**](ContentApi.md#verifyscormmanifest) | **POST** /scorm/tools/verify-manifest | Parse and verify a SCORM manifest |
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
## commitScormSession
|
|
40
|
-
|
|
41
|
-
> commitScormSession(scormSessionId)
|
|
42
|
-
|
|
43
|
-
Commit SCORM session data
|
|
44
|
-
|
|
45
|
-
Commit/persist SCORM CMI data changes to the database
|
|
46
|
-
|
|
47
|
-
### Example
|
|
48
|
-
|
|
49
|
-
```ts
|
|
50
|
-
import {
|
|
51
|
-
Configuration,
|
|
52
|
-
ContentApi,
|
|
53
|
-
} from '@easyedu/js-lsm-api';
|
|
54
|
-
import type { CommitScormSessionRequest } from '@easyedu/js-lsm-api';
|
|
55
|
-
|
|
56
|
-
async function example() {
|
|
57
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
58
|
-
const api = new ContentApi();
|
|
59
|
-
|
|
60
|
-
const body = {
|
|
61
|
-
// string | The external_id of the SCORM session
|
|
62
|
-
scormSessionId: scormSessionId_example,
|
|
63
|
-
} satisfies CommitScormSessionRequest;
|
|
64
|
-
|
|
65
|
-
try {
|
|
66
|
-
const data = await api.commitScormSession(body);
|
|
67
|
-
console.log(data);
|
|
68
|
-
} catch (error) {
|
|
69
|
-
console.error(error);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
// Run the test
|
|
74
|
-
example().catch(console.error);
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Parameters
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
| Name | Type | Description | Notes |
|
|
81
|
-
|------------- | ------------- | ------------- | -------------|
|
|
82
|
-
| **scormSessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
83
|
-
|
|
84
|
-
### Return type
|
|
85
|
-
|
|
86
|
-
`void` (Empty response body)
|
|
87
|
-
|
|
88
|
-
### Authorization
|
|
89
|
-
|
|
90
|
-
No authorization required
|
|
91
|
-
|
|
92
|
-
### HTTP request headers
|
|
93
|
-
|
|
94
|
-
- **Content-Type**: Not defined
|
|
95
|
-
- **Accept**: Not defined
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### HTTP response details
|
|
99
|
-
| Status code | Description | Response headers |
|
|
100
|
-
|-------------|-------------|------------------|
|
|
101
|
-
| **200** | Successfully committed SCORM session data | - |
|
|
102
|
-
| **401** | Unauthorized | - |
|
|
103
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
104
|
-
| **404** | SCORM session not found | - |
|
|
105
|
-
|
|
106
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
## deleteContent
|
|
110
|
-
|
|
111
|
-
> deleteContent(contentId, moduleId, courseId)
|
|
112
|
-
|
|
113
|
-
Delete content by id
|
|
114
|
-
|
|
115
|
-
Soft-deletes the content item.
|
|
116
|
-
|
|
117
|
-
### Example
|
|
118
|
-
|
|
119
|
-
```ts
|
|
120
|
-
import {
|
|
121
|
-
Configuration,
|
|
122
|
-
ContentApi,
|
|
123
|
-
} from '@easyedu/js-lsm-api';
|
|
124
|
-
import type { DeleteContentRequest } from '@easyedu/js-lsm-api';
|
|
125
|
-
|
|
126
|
-
async function example() {
|
|
127
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
128
|
-
const api = new ContentApi();
|
|
129
|
-
|
|
130
|
-
const body = {
|
|
131
|
-
// string
|
|
132
|
-
contentId: contentId_example,
|
|
133
|
-
// string
|
|
134
|
-
moduleId: moduleId_example,
|
|
135
|
-
// string
|
|
136
|
-
courseId: courseId_example,
|
|
137
|
-
} satisfies DeleteContentRequest;
|
|
138
|
-
|
|
139
|
-
try {
|
|
140
|
-
const data = await api.deleteContent(body);
|
|
141
|
-
console.log(data);
|
|
142
|
-
} catch (error) {
|
|
143
|
-
console.error(error);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
// Run the test
|
|
148
|
-
example().catch(console.error);
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
### Parameters
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
| Name | Type | Description | Notes |
|
|
155
|
-
|------------- | ------------- | ------------- | -------------|
|
|
156
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
157
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
158
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
159
|
-
|
|
160
|
-
### Return type
|
|
161
|
-
|
|
162
|
-
`void` (Empty response body)
|
|
163
|
-
|
|
164
|
-
### Authorization
|
|
165
|
-
|
|
166
|
-
No authorization required
|
|
167
|
-
|
|
168
|
-
### HTTP request headers
|
|
169
|
-
|
|
170
|
-
- **Content-Type**: Not defined
|
|
171
|
-
- **Accept**: Not defined
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
### HTTP response details
|
|
175
|
-
| Status code | Description | Response headers |
|
|
176
|
-
|-------------|-------------|------------------|
|
|
177
|
-
| **204** | Content deleted successfully | - |
|
|
178
|
-
| **403** | Forbidden - parent course is not owned by the selected portal | - |
|
|
179
|
-
| **404** | Content not found | - |
|
|
180
|
-
|
|
181
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
## deleteContentVersion
|
|
185
|
-
|
|
186
|
-
> deleteContentVersion(contentId, moduleId, courseId, versionId)
|
|
187
|
-
|
|
188
|
-
Delete an inactive content version
|
|
189
|
-
|
|
190
|
-
### Example
|
|
191
|
-
|
|
192
|
-
```ts
|
|
193
|
-
import {
|
|
194
|
-
Configuration,
|
|
195
|
-
ContentApi,
|
|
196
|
-
} from '@easyedu/js-lsm-api';
|
|
197
|
-
import type { DeleteContentVersionRequest } from '@easyedu/js-lsm-api';
|
|
198
|
-
|
|
199
|
-
async function example() {
|
|
200
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
201
|
-
const api = new ContentApi();
|
|
202
|
-
|
|
203
|
-
const body = {
|
|
204
|
-
// string | The content\'s external_id
|
|
205
|
-
contentId: contentId_example,
|
|
206
|
-
// string
|
|
207
|
-
moduleId: moduleId_example,
|
|
208
|
-
// string
|
|
209
|
-
courseId: courseId_example,
|
|
210
|
-
// string | The version\'s external_id
|
|
211
|
-
versionId: versionId_example,
|
|
212
|
-
} satisfies DeleteContentVersionRequest;
|
|
213
|
-
|
|
214
|
-
try {
|
|
215
|
-
const data = await api.deleteContentVersion(body);
|
|
216
|
-
console.log(data);
|
|
217
|
-
} catch (error) {
|
|
218
|
-
console.error(error);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
// Run the test
|
|
223
|
-
example().catch(console.error);
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### Parameters
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
| Name | Type | Description | Notes |
|
|
230
|
-
|------------- | ------------- | ------------- | -------------|
|
|
231
|
-
| **contentId** | `string` | The content\'s external_id | [Defaults to `undefined`] |
|
|
232
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
233
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
234
|
-
| **versionId** | `string` | The version\'s external_id | [Defaults to `undefined`] |
|
|
235
|
-
|
|
236
|
-
### Return type
|
|
237
|
-
|
|
238
|
-
`void` (Empty response body)
|
|
239
|
-
|
|
240
|
-
### Authorization
|
|
241
|
-
|
|
242
|
-
No authorization required
|
|
243
|
-
|
|
244
|
-
### HTTP request headers
|
|
245
|
-
|
|
246
|
-
- **Content-Type**: Not defined
|
|
247
|
-
- **Accept**: Not defined
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
### HTTP response details
|
|
251
|
-
| Status code | Description | Response headers |
|
|
252
|
-
|-------------|-------------|------------------|
|
|
253
|
-
| **204** | Version deleted successfully | - |
|
|
254
|
-
| **400** | Active versions cannot be deleted | - |
|
|
255
|
-
| **401** | Unauthorized | - |
|
|
256
|
-
| **403** | Forbidden - you do not have permission to delete this content version | - |
|
|
257
|
-
| **404** | Content or version not found | - |
|
|
258
|
-
|
|
259
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
## getContent
|
|
263
|
-
|
|
264
|
-
> GetContent getContent(contentId, moduleId, courseId)
|
|
265
|
-
|
|
266
|
-
get content
|
|
267
|
-
|
|
268
|
-
### Example
|
|
269
|
-
|
|
270
|
-
```ts
|
|
271
|
-
import {
|
|
272
|
-
Configuration,
|
|
273
|
-
ContentApi,
|
|
274
|
-
} from '@easyedu/js-lsm-api';
|
|
275
|
-
import type { GetContentRequest } from '@easyedu/js-lsm-api';
|
|
276
|
-
|
|
277
|
-
async function example() {
|
|
278
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
279
|
-
const api = new ContentApi();
|
|
280
|
-
|
|
281
|
-
const body = {
|
|
282
|
-
// string
|
|
283
|
-
contentId: contentId_example,
|
|
284
|
-
// string
|
|
285
|
-
moduleId: moduleId_example,
|
|
286
|
-
// string
|
|
287
|
-
courseId: courseId_example,
|
|
288
|
-
} satisfies GetContentRequest;
|
|
289
|
-
|
|
290
|
-
try {
|
|
291
|
-
const data = await api.getContent(body);
|
|
292
|
-
console.log(data);
|
|
293
|
-
} catch (error) {
|
|
294
|
-
console.error(error);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
// Run the test
|
|
299
|
-
example().catch(console.error);
|
|
300
|
-
```
|
|
301
|
-
|
|
302
|
-
### Parameters
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
| Name | Type | Description | Notes |
|
|
306
|
-
|------------- | ------------- | ------------- | -------------|
|
|
307
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
308
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
309
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
310
|
-
|
|
311
|
-
### Return type
|
|
312
|
-
|
|
313
|
-
[**GetContent**](GetContent.md)
|
|
314
|
-
|
|
315
|
-
### Authorization
|
|
316
|
-
|
|
317
|
-
No authorization required
|
|
318
|
-
|
|
319
|
-
### HTTP request headers
|
|
320
|
-
|
|
321
|
-
- **Content-Type**: Not defined
|
|
322
|
-
- **Accept**: `application/json`
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
### HTTP response details
|
|
326
|
-
| Status code | Description | Response headers |
|
|
327
|
-
|-------------|-------------|------------------|
|
|
328
|
-
| **200** | get content response OK | - |
|
|
329
|
-
|
|
330
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
## getContentAttempts
|
|
334
|
-
|
|
335
|
-
> GetContentAttempts getContentAttempts(contentId, moduleId, courseId, userId, environment)
|
|
336
|
-
|
|
337
|
-
Get content attempts
|
|
338
|
-
|
|
339
|
-
Lists content attempts and score rollup for the current learner. Instructors may pass user_id to inspect another learner.
|
|
340
|
-
|
|
341
|
-
### Example
|
|
342
|
-
|
|
343
|
-
```ts
|
|
344
|
-
import {
|
|
345
|
-
Configuration,
|
|
346
|
-
ContentApi,
|
|
347
|
-
} from '@easyedu/js-lsm-api';
|
|
348
|
-
import type { GetContentAttemptsRequest } from '@easyedu/js-lsm-api';
|
|
349
|
-
|
|
350
|
-
async function example() {
|
|
351
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
352
|
-
const api = new ContentApi();
|
|
353
|
-
|
|
354
|
-
const body = {
|
|
355
|
-
// string
|
|
356
|
-
contentId: contentId_example,
|
|
357
|
-
// string
|
|
358
|
-
moduleId: moduleId_example,
|
|
359
|
-
// string
|
|
360
|
-
courseId: courseId_example,
|
|
361
|
-
// number | Internal user ID to inspect. Defaults to the authenticated user. (optional)
|
|
362
|
-
userId: 56,
|
|
363
|
-
// 'sandbox' | 'live' | Environment type for the attempts list (defaults to live) (optional)
|
|
364
|
-
environment: environment_example,
|
|
365
|
-
} satisfies GetContentAttemptsRequest;
|
|
366
|
-
|
|
367
|
-
try {
|
|
368
|
-
const data = await api.getContentAttempts(body);
|
|
369
|
-
console.log(data);
|
|
370
|
-
} catch (error) {
|
|
371
|
-
console.error(error);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
// Run the test
|
|
376
|
-
example().catch(console.error);
|
|
377
|
-
```
|
|
378
|
-
|
|
379
|
-
### Parameters
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
| Name | Type | Description | Notes |
|
|
383
|
-
|------------- | ------------- | ------------- | -------------|
|
|
384
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
385
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
386
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
387
|
-
| **userId** | `number` | Internal user ID to inspect. Defaults to the authenticated user. | [Optional] [Defaults to `undefined`] |
|
|
388
|
-
| **environment** | `sandbox`, `live` | Environment type for the attempts list (defaults to live) | [Optional] [Defaults to `'live'`] [Enum: sandbox, live] |
|
|
389
|
-
|
|
390
|
-
### Return type
|
|
391
|
-
|
|
392
|
-
[**GetContentAttempts**](GetContentAttempts.md)
|
|
393
|
-
|
|
394
|
-
### Authorization
|
|
395
|
-
|
|
396
|
-
No authorization required
|
|
397
|
-
|
|
398
|
-
### HTTP request headers
|
|
399
|
-
|
|
400
|
-
- **Content-Type**: Not defined
|
|
401
|
-
- **Accept**: `application/json`
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
### HTTP response details
|
|
405
|
-
| Status code | Description | Response headers |
|
|
406
|
-
|-------------|-------------|------------------|
|
|
407
|
-
| **200** | Content attempts response OK | - |
|
|
408
|
-
| **401** | Unauthorized | - |
|
|
409
|
-
| **403** | Forbidden | - |
|
|
410
|
-
| **404** | Content not found | - |
|
|
411
|
-
|
|
412
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
## getContentList
|
|
416
|
-
|
|
417
|
-
> GetContentList getContentList(moduleId, courseId)
|
|
418
|
-
|
|
419
|
-
get content list
|
|
420
|
-
|
|
421
|
-
### Example
|
|
422
|
-
|
|
423
|
-
```ts
|
|
424
|
-
import {
|
|
425
|
-
Configuration,
|
|
426
|
-
ContentApi,
|
|
427
|
-
} from '@easyedu/js-lsm-api';
|
|
428
|
-
import type { GetContentListRequest } from '@easyedu/js-lsm-api';
|
|
429
|
-
|
|
430
|
-
async function example() {
|
|
431
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
432
|
-
const api = new ContentApi();
|
|
433
|
-
|
|
434
|
-
const body = {
|
|
435
|
-
// string
|
|
436
|
-
moduleId: moduleId_example,
|
|
437
|
-
// string
|
|
438
|
-
courseId: courseId_example,
|
|
439
|
-
} satisfies GetContentListRequest;
|
|
440
|
-
|
|
441
|
-
try {
|
|
442
|
-
const data = await api.getContentList(body);
|
|
443
|
-
console.log(data);
|
|
444
|
-
} catch (error) {
|
|
445
|
-
console.error(error);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
// Run the test
|
|
450
|
-
example().catch(console.error);
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
### Parameters
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
| Name | Type | Description | Notes |
|
|
457
|
-
|------------- | ------------- | ------------- | -------------|
|
|
458
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
459
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
460
|
-
|
|
461
|
-
### Return type
|
|
462
|
-
|
|
463
|
-
[**GetContentList**](GetContentList.md)
|
|
464
|
-
|
|
465
|
-
### Authorization
|
|
466
|
-
|
|
467
|
-
No authorization required
|
|
468
|
-
|
|
469
|
-
### HTTP request headers
|
|
470
|
-
|
|
471
|
-
- **Content-Type**: Not defined
|
|
472
|
-
- **Accept**: `application/json`
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
### HTTP response details
|
|
476
|
-
| Status code | Description | Response headers |
|
|
477
|
-
|-------------|-------------|------------------|
|
|
478
|
-
| **200** | get content list response OK | - |
|
|
479
|
-
|
|
480
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
## getContentSession
|
|
484
|
-
|
|
485
|
-
> GetContentSession getContentSession(contentId, moduleId, courseId)
|
|
486
|
-
|
|
487
|
-
get content session
|
|
488
|
-
|
|
489
|
-
### Example
|
|
490
|
-
|
|
491
|
-
```ts
|
|
492
|
-
import {
|
|
493
|
-
Configuration,
|
|
494
|
-
ContentApi,
|
|
495
|
-
} from '@easyedu/js-lsm-api';
|
|
496
|
-
import type { GetContentSessionRequest } from '@easyedu/js-lsm-api';
|
|
497
|
-
|
|
498
|
-
async function example() {
|
|
499
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
500
|
-
const api = new ContentApi();
|
|
501
|
-
|
|
502
|
-
const body = {
|
|
503
|
-
// string
|
|
504
|
-
contentId: contentId_example,
|
|
505
|
-
// string
|
|
506
|
-
moduleId: moduleId_example,
|
|
507
|
-
// string
|
|
508
|
-
courseId: courseId_example,
|
|
509
|
-
} satisfies GetContentSessionRequest;
|
|
510
|
-
|
|
511
|
-
try {
|
|
512
|
-
const data = await api.getContentSession(body);
|
|
513
|
-
console.log(data);
|
|
514
|
-
} catch (error) {
|
|
515
|
-
console.error(error);
|
|
516
|
-
}
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
// Run the test
|
|
520
|
-
example().catch(console.error);
|
|
521
|
-
```
|
|
522
|
-
|
|
523
|
-
### Parameters
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
| Name | Type | Description | Notes |
|
|
527
|
-
|------------- | ------------- | ------------- | -------------|
|
|
528
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
529
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
530
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
531
|
-
|
|
532
|
-
### Return type
|
|
533
|
-
|
|
534
|
-
[**GetContentSession**](GetContentSession.md)
|
|
535
|
-
|
|
536
|
-
### Authorization
|
|
537
|
-
|
|
538
|
-
No authorization required
|
|
539
|
-
|
|
540
|
-
### HTTP request headers
|
|
541
|
-
|
|
542
|
-
- **Content-Type**: Not defined
|
|
543
|
-
- **Accept**: `application/json`
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
### HTTP response details
|
|
547
|
-
| Status code | Description | Response headers |
|
|
548
|
-
|-------------|-------------|------------------|
|
|
549
|
-
| **200** | get content session response OK | - |
|
|
550
|
-
|
|
551
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
## getContentSessionDetail
|
|
555
|
-
|
|
556
|
-
> GetContentSessionDetail getContentSessionDetail(contentId, moduleId, courseId, sessionId)
|
|
557
|
-
|
|
558
|
-
Get content session details (instructor only)
|
|
559
|
-
|
|
560
|
-
Get detailed information about a specific content session
|
|
561
|
-
|
|
562
|
-
### Example
|
|
563
|
-
|
|
564
|
-
```ts
|
|
565
|
-
import {
|
|
566
|
-
Configuration,
|
|
567
|
-
ContentApi,
|
|
568
|
-
} from '@easyedu/js-lsm-api';
|
|
569
|
-
import type { GetContentSessionDetailRequest } from '@easyedu/js-lsm-api';
|
|
570
|
-
|
|
571
|
-
async function example() {
|
|
572
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
573
|
-
const api = new ContentApi();
|
|
574
|
-
|
|
575
|
-
const body = {
|
|
576
|
-
// string
|
|
577
|
-
contentId: contentId_example,
|
|
578
|
-
// string
|
|
579
|
-
moduleId: moduleId_example,
|
|
580
|
-
// string
|
|
581
|
-
courseId: courseId_example,
|
|
582
|
-
// string | The external_id of the content session
|
|
583
|
-
sessionId: sessionId_example,
|
|
584
|
-
} satisfies GetContentSessionDetailRequest;
|
|
585
|
-
|
|
586
|
-
try {
|
|
587
|
-
const data = await api.getContentSessionDetail(body);
|
|
588
|
-
console.log(data);
|
|
589
|
-
} catch (error) {
|
|
590
|
-
console.error(error);
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
// Run the test
|
|
595
|
-
example().catch(console.error);
|
|
596
|
-
```
|
|
597
|
-
|
|
598
|
-
### Parameters
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
| Name | Type | Description | Notes |
|
|
602
|
-
|------------- | ------------- | ------------- | -------------|
|
|
603
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
604
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
605
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
606
|
-
| **sessionId** | `string` | The external_id of the content session | [Defaults to `undefined`] |
|
|
607
|
-
|
|
608
|
-
### Return type
|
|
609
|
-
|
|
610
|
-
[**GetContentSessionDetail**](GetContentSessionDetail.md)
|
|
611
|
-
|
|
612
|
-
### Authorization
|
|
613
|
-
|
|
614
|
-
No authorization required
|
|
615
|
-
|
|
616
|
-
### HTTP request headers
|
|
617
|
-
|
|
618
|
-
- **Content-Type**: Not defined
|
|
619
|
-
- **Accept**: `application/json`
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
### HTTP response details
|
|
623
|
-
| Status code | Description | Response headers |
|
|
624
|
-
|-------------|-------------|------------------|
|
|
625
|
-
| **200** | Successfully retrieved content session details | - |
|
|
626
|
-
| **401** | Unauthorized | - |
|
|
627
|
-
| **403** | Forbidden - instructor role required | - |
|
|
628
|
-
| **404** | Content session not found | - |
|
|
629
|
-
|
|
630
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
## getContentVersion
|
|
634
|
-
|
|
635
|
-
> GetContentVersion getContentVersion(contentId, moduleId, courseId, versionId)
|
|
636
|
-
|
|
637
|
-
Get details of a specific content version
|
|
638
|
-
|
|
639
|
-
Returns detailed information about a specific version of the content, including sandbox launch URL and SCORM-specific data (package info and table of contents) if applicable.
|
|
640
|
-
|
|
641
|
-
### Example
|
|
642
|
-
|
|
643
|
-
```ts
|
|
644
|
-
import {
|
|
645
|
-
Configuration,
|
|
646
|
-
ContentApi,
|
|
647
|
-
} from '@easyedu/js-lsm-api';
|
|
648
|
-
import type { GetContentVersionRequest } from '@easyedu/js-lsm-api';
|
|
649
|
-
|
|
650
|
-
async function example() {
|
|
651
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
652
|
-
const api = new ContentApi();
|
|
653
|
-
|
|
654
|
-
const body = {
|
|
655
|
-
// string | The content\'s external_id
|
|
656
|
-
contentId: contentId_example,
|
|
657
|
-
// string
|
|
658
|
-
moduleId: moduleId_example,
|
|
659
|
-
// string
|
|
660
|
-
courseId: courseId_example,
|
|
661
|
-
// string | The version\'s external_id
|
|
662
|
-
versionId: versionId_example,
|
|
663
|
-
} satisfies GetContentVersionRequest;
|
|
664
|
-
|
|
665
|
-
try {
|
|
666
|
-
const data = await api.getContentVersion(body);
|
|
667
|
-
console.log(data);
|
|
668
|
-
} catch (error) {
|
|
669
|
-
console.error(error);
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
// Run the test
|
|
674
|
-
example().catch(console.error);
|
|
675
|
-
```
|
|
676
|
-
|
|
677
|
-
### Parameters
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
| Name | Type | Description | Notes |
|
|
681
|
-
|------------- | ------------- | ------------- | -------------|
|
|
682
|
-
| **contentId** | `string` | The content\'s external_id | [Defaults to `undefined`] |
|
|
683
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
684
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
685
|
-
| **versionId** | `string` | The version\'s external_id | [Defaults to `undefined`] |
|
|
686
|
-
|
|
687
|
-
### Return type
|
|
688
|
-
|
|
689
|
-
[**GetContentVersion**](GetContentVersion.md)
|
|
690
|
-
|
|
691
|
-
### Authorization
|
|
692
|
-
|
|
693
|
-
No authorization required
|
|
694
|
-
|
|
695
|
-
### HTTP request headers
|
|
696
|
-
|
|
697
|
-
- **Content-Type**: Not defined
|
|
698
|
-
- **Accept**: `application/json`
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
### HTTP response details
|
|
702
|
-
| Status code | Description | Response headers |
|
|
703
|
-
|-------------|-------------|------------------|
|
|
704
|
-
| **200** | Successfully retrieved content version details | - |
|
|
705
|
-
| **404** | Content or version not found | - |
|
|
706
|
-
| **401** | Unauthorized | - |
|
|
707
|
-
|
|
708
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
## getContentVersionList
|
|
712
|
-
|
|
713
|
-
> GetContentVersionList getContentVersionList(contentId, moduleId, courseId, page, pageSize)
|
|
714
|
-
|
|
715
|
-
Get all versions of a content
|
|
716
|
-
|
|
717
|
-
Returns a paginated list of all versions for the specified content. Returns an empty array if the content has no versions.
|
|
718
|
-
|
|
719
|
-
### Example
|
|
720
|
-
|
|
721
|
-
```ts
|
|
722
|
-
import {
|
|
723
|
-
Configuration,
|
|
724
|
-
ContentApi,
|
|
725
|
-
} from '@easyedu/js-lsm-api';
|
|
726
|
-
import type { GetContentVersionListRequest } from '@easyedu/js-lsm-api';
|
|
727
|
-
|
|
728
|
-
async function example() {
|
|
729
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
730
|
-
const api = new ContentApi();
|
|
731
|
-
|
|
732
|
-
const body = {
|
|
733
|
-
// string | The content\'s external_id
|
|
734
|
-
contentId: contentId_example,
|
|
735
|
-
// string
|
|
736
|
-
moduleId: moduleId_example,
|
|
737
|
-
// string
|
|
738
|
-
courseId: courseId_example,
|
|
739
|
-
// number | Page number for pagination (optional)
|
|
740
|
-
page: 56,
|
|
741
|
-
// number | Number of items per page (optional)
|
|
742
|
-
pageSize: 56,
|
|
743
|
-
} satisfies GetContentVersionListRequest;
|
|
744
|
-
|
|
745
|
-
try {
|
|
746
|
-
const data = await api.getContentVersionList(body);
|
|
747
|
-
console.log(data);
|
|
748
|
-
} catch (error) {
|
|
749
|
-
console.error(error);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
// Run the test
|
|
754
|
-
example().catch(console.error);
|
|
755
|
-
```
|
|
756
|
-
|
|
757
|
-
### Parameters
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
| Name | Type | Description | Notes |
|
|
761
|
-
|------------- | ------------- | ------------- | -------------|
|
|
762
|
-
| **contentId** | `string` | The content\'s external_id | [Defaults to `undefined`] |
|
|
763
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
764
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
765
|
-
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
766
|
-
| **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `20`] |
|
|
767
|
-
|
|
768
|
-
### Return type
|
|
769
|
-
|
|
770
|
-
[**GetContentVersionList**](GetContentVersionList.md)
|
|
771
|
-
|
|
772
|
-
### Authorization
|
|
773
|
-
|
|
774
|
-
No authorization required
|
|
775
|
-
|
|
776
|
-
### HTTP request headers
|
|
777
|
-
|
|
778
|
-
- **Content-Type**: Not defined
|
|
779
|
-
- **Accept**: `application/json`
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
### HTTP response details
|
|
783
|
-
| Status code | Description | Response headers |
|
|
784
|
-
|-------------|-------------|------------------|
|
|
785
|
-
| **200** | Successfully retrieved content versions | - |
|
|
786
|
-
| **404** | Content not found | - |
|
|
787
|
-
| **401** | Unauthorized | - |
|
|
788
|
-
|
|
789
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
## getScormApiLogs
|
|
793
|
-
|
|
794
|
-
> GetScormApiLogs getScormApiLogs(sessionId, page, pageSize)
|
|
795
|
-
|
|
796
|
-
Get SCORM API call logs (instructor only)
|
|
797
|
-
|
|
798
|
-
Get a paginated history of all SCORM API calls made during this session for debugging and troubleshooting
|
|
799
|
-
|
|
800
|
-
### Example
|
|
801
|
-
|
|
802
|
-
```ts
|
|
803
|
-
import {
|
|
804
|
-
Configuration,
|
|
805
|
-
ContentApi,
|
|
806
|
-
} from '@easyedu/js-lsm-api';
|
|
807
|
-
import type { GetScormApiLogsRequest } from '@easyedu/js-lsm-api';
|
|
808
|
-
|
|
809
|
-
async function example() {
|
|
810
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
811
|
-
const api = new ContentApi();
|
|
812
|
-
|
|
813
|
-
const body = {
|
|
814
|
-
// string | The external_id of the SCORM session
|
|
815
|
-
sessionId: sessionId_example,
|
|
816
|
-
// number | Page number for pagination (optional)
|
|
817
|
-
page: 56,
|
|
818
|
-
// number | Number of items per page (optional)
|
|
819
|
-
pageSize: 56,
|
|
820
|
-
} satisfies GetScormApiLogsRequest;
|
|
821
|
-
|
|
822
|
-
try {
|
|
823
|
-
const data = await api.getScormApiLogs(body);
|
|
824
|
-
console.log(data);
|
|
825
|
-
} catch (error) {
|
|
826
|
-
console.error(error);
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
// Run the test
|
|
831
|
-
example().catch(console.error);
|
|
832
|
-
```
|
|
833
|
-
|
|
834
|
-
### Parameters
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
| Name | Type | Description | Notes |
|
|
838
|
-
|------------- | ------------- | ------------- | -------------|
|
|
839
|
-
| **sessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
840
|
-
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
841
|
-
| **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `50`] |
|
|
842
|
-
|
|
843
|
-
### Return type
|
|
844
|
-
|
|
845
|
-
[**GetScormApiLogs**](GetScormApiLogs.md)
|
|
846
|
-
|
|
847
|
-
### Authorization
|
|
848
|
-
|
|
849
|
-
No authorization required
|
|
850
|
-
|
|
851
|
-
### HTTP request headers
|
|
852
|
-
|
|
853
|
-
- **Content-Type**: Not defined
|
|
854
|
-
- **Accept**: `application/json`
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
### HTTP response details
|
|
858
|
-
| Status code | Description | Response headers |
|
|
859
|
-
|-------------|-------------|------------------|
|
|
860
|
-
| **200** | Successfully retrieved SCORM API logs | - |
|
|
861
|
-
| **401** | Unauthorized | - |
|
|
862
|
-
| **403** | Forbidden - instructor role required | - |
|
|
863
|
-
| **404** | SCORM session not found | - |
|
|
864
|
-
|
|
865
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
## getScormPackage
|
|
869
|
-
|
|
870
|
-
> GetScormPackage getScormPackage(packageId)
|
|
871
|
-
|
|
872
|
-
Get details of a SCORM package
|
|
873
|
-
|
|
874
|
-
Returns package information and table of contents for a SCORM package
|
|
875
|
-
|
|
876
|
-
### Example
|
|
877
|
-
|
|
878
|
-
```ts
|
|
879
|
-
import {
|
|
880
|
-
Configuration,
|
|
881
|
-
ContentApi,
|
|
882
|
-
} from '@easyedu/js-lsm-api';
|
|
883
|
-
import type { GetScormPackageRequest } from '@easyedu/js-lsm-api';
|
|
884
|
-
|
|
885
|
-
async function example() {
|
|
886
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
887
|
-
const api = new ContentApi();
|
|
888
|
-
|
|
889
|
-
const body = {
|
|
890
|
-
// string | The external_id of the SCORM package
|
|
891
|
-
packageId: packageId_example,
|
|
892
|
-
} satisfies GetScormPackageRequest;
|
|
893
|
-
|
|
894
|
-
try {
|
|
895
|
-
const data = await api.getScormPackage(body);
|
|
896
|
-
console.log(data);
|
|
897
|
-
} catch (error) {
|
|
898
|
-
console.error(error);
|
|
899
|
-
}
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
// Run the test
|
|
903
|
-
example().catch(console.error);
|
|
904
|
-
```
|
|
905
|
-
|
|
906
|
-
### Parameters
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
| Name | Type | Description | Notes |
|
|
910
|
-
|------------- | ------------- | ------------- | -------------|
|
|
911
|
-
| **packageId** | `string` | The external_id of the SCORM package | [Defaults to `undefined`] |
|
|
912
|
-
|
|
913
|
-
### Return type
|
|
914
|
-
|
|
915
|
-
[**GetScormPackage**](GetScormPackage.md)
|
|
916
|
-
|
|
917
|
-
### Authorization
|
|
918
|
-
|
|
919
|
-
No authorization required
|
|
920
|
-
|
|
921
|
-
### HTTP request headers
|
|
922
|
-
|
|
923
|
-
- **Content-Type**: Not defined
|
|
924
|
-
- **Accept**: `application/json`
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
### HTTP response details
|
|
928
|
-
| Status code | Description | Response headers |
|
|
929
|
-
|-------------|-------------|------------------|
|
|
930
|
-
| **200** | Successfully retrieved SCORM package details | - |
|
|
931
|
-
| **401** | Unauthorized | - |
|
|
932
|
-
| **404** | SCORM package not found | - |
|
|
933
|
-
|
|
934
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
## getScormSessionData
|
|
938
|
-
|
|
939
|
-
> GetScormSessionData getScormSessionData(scormSessionId)
|
|
940
|
-
|
|
941
|
-
Get SCORM session data (instructor only)
|
|
942
|
-
|
|
943
|
-
Get detailed SCORM session data including CMI data dump for debugging
|
|
944
|
-
|
|
945
|
-
### Example
|
|
946
|
-
|
|
947
|
-
```ts
|
|
948
|
-
import {
|
|
949
|
-
Configuration,
|
|
950
|
-
ContentApi,
|
|
951
|
-
} from '@easyedu/js-lsm-api';
|
|
952
|
-
import type { GetScormSessionDataRequest } from '@easyedu/js-lsm-api';
|
|
953
|
-
|
|
954
|
-
async function example() {
|
|
955
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
956
|
-
const api = new ContentApi();
|
|
957
|
-
|
|
958
|
-
const body = {
|
|
959
|
-
// string | The external_id of the SCORM session
|
|
960
|
-
scormSessionId: scormSessionId_example,
|
|
961
|
-
} satisfies GetScormSessionDataRequest;
|
|
962
|
-
|
|
963
|
-
try {
|
|
964
|
-
const data = await api.getScormSessionData(body);
|
|
965
|
-
console.log(data);
|
|
966
|
-
} catch (error) {
|
|
967
|
-
console.error(error);
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
// Run the test
|
|
972
|
-
example().catch(console.error);
|
|
973
|
-
```
|
|
974
|
-
|
|
975
|
-
### Parameters
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
| Name | Type | Description | Notes |
|
|
979
|
-
|------------- | ------------- | ------------- | -------------|
|
|
980
|
-
| **scormSessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
981
|
-
|
|
982
|
-
### Return type
|
|
983
|
-
|
|
984
|
-
[**GetScormSessionData**](GetScormSessionData.md)
|
|
985
|
-
|
|
986
|
-
### Authorization
|
|
987
|
-
|
|
988
|
-
No authorization required
|
|
989
|
-
|
|
990
|
-
### HTTP request headers
|
|
991
|
-
|
|
992
|
-
- **Content-Type**: Not defined
|
|
993
|
-
- **Accept**: `application/json`
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
### HTTP response details
|
|
997
|
-
| Status code | Description | Response headers |
|
|
998
|
-
|-------------|-------------|------------------|
|
|
999
|
-
| **200** | Successfully retrieved SCORM session data | - |
|
|
1000
|
-
| **401** | Unauthorized | - |
|
|
1001
|
-
| **403** | Forbidden - instructor role required | - |
|
|
1002
|
-
| **404** | SCORM session not found | - |
|
|
1003
|
-
|
|
1004
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
## getScormValue
|
|
1008
|
-
|
|
1009
|
-
> ScormGetValueResponse getScormValue(scormSessionId, key)
|
|
1010
|
-
|
|
1011
|
-
Get a SCORM CMI data element value
|
|
1012
|
-
|
|
1013
|
-
Retrieve the value of a specific SCORM CMI data element from the session
|
|
1014
|
-
|
|
1015
|
-
### Example
|
|
1016
|
-
|
|
1017
|
-
```ts
|
|
1018
|
-
import {
|
|
1019
|
-
Configuration,
|
|
1020
|
-
ContentApi,
|
|
1021
|
-
} from '@easyedu/js-lsm-api';
|
|
1022
|
-
import type { GetScormValueRequest } from '@easyedu/js-lsm-api';
|
|
1023
|
-
|
|
1024
|
-
async function example() {
|
|
1025
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1026
|
-
const api = new ContentApi();
|
|
1027
|
-
|
|
1028
|
-
const body = {
|
|
1029
|
-
// string | The external_id of the SCORM session
|
|
1030
|
-
scormSessionId: scormSessionId_example,
|
|
1031
|
-
// string | The CMI element key to retrieve (e.g., cmi.core.lesson_status)
|
|
1032
|
-
key: key_example,
|
|
1033
|
-
} satisfies GetScormValueRequest;
|
|
1034
|
-
|
|
1035
|
-
try {
|
|
1036
|
-
const data = await api.getScormValue(body);
|
|
1037
|
-
console.log(data);
|
|
1038
|
-
} catch (error) {
|
|
1039
|
-
console.error(error);
|
|
1040
|
-
}
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
// Run the test
|
|
1044
|
-
example().catch(console.error);
|
|
1045
|
-
```
|
|
1046
|
-
|
|
1047
|
-
### Parameters
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
| Name | Type | Description | Notes |
|
|
1051
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1052
|
-
| **scormSessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
1053
|
-
| **key** | `string` | The CMI element key to retrieve (e.g., cmi.core.lesson_status) | [Defaults to `undefined`] |
|
|
1054
|
-
|
|
1055
|
-
### Return type
|
|
1056
|
-
|
|
1057
|
-
[**ScormGetValueResponse**](ScormGetValueResponse.md)
|
|
1058
|
-
|
|
1059
|
-
### Authorization
|
|
1060
|
-
|
|
1061
|
-
No authorization required
|
|
1062
|
-
|
|
1063
|
-
### HTTP request headers
|
|
1064
|
-
|
|
1065
|
-
- **Content-Type**: Not defined
|
|
1066
|
-
- **Accept**: `application/json`
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
### HTTP response details
|
|
1070
|
-
| Status code | Description | Response headers |
|
|
1071
|
-
|-------------|-------------|------------------|
|
|
1072
|
-
| **200** | Successfully retrieved CMI element value | - |
|
|
1073
|
-
| **401** | Unauthorized | - |
|
|
1074
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
1075
|
-
| **404** | SCORM session not found | - |
|
|
1076
|
-
|
|
1077
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
## initializeScormSession
|
|
1081
|
-
|
|
1082
|
-
> initializeScormSession(scormSessionId)
|
|
1083
|
-
|
|
1084
|
-
Initialize a SCORM session
|
|
1085
|
-
|
|
1086
|
-
Initialize a SCORM session for content playback
|
|
1087
|
-
|
|
1088
|
-
### Example
|
|
1089
|
-
|
|
1090
|
-
```ts
|
|
1091
|
-
import {
|
|
1092
|
-
Configuration,
|
|
1093
|
-
ContentApi,
|
|
1094
|
-
} from '@easyedu/js-lsm-api';
|
|
1095
|
-
import type { InitializeScormSessionRequest } from '@easyedu/js-lsm-api';
|
|
1096
|
-
|
|
1097
|
-
async function example() {
|
|
1098
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1099
|
-
const api = new ContentApi();
|
|
1100
|
-
|
|
1101
|
-
const body = {
|
|
1102
|
-
// string | The external_id of the SCORM session
|
|
1103
|
-
scormSessionId: scormSessionId_example,
|
|
1104
|
-
} satisfies InitializeScormSessionRequest;
|
|
1105
|
-
|
|
1106
|
-
try {
|
|
1107
|
-
const data = await api.initializeScormSession(body);
|
|
1108
|
-
console.log(data);
|
|
1109
|
-
} catch (error) {
|
|
1110
|
-
console.error(error);
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
// Run the test
|
|
1115
|
-
example().catch(console.error);
|
|
1116
|
-
```
|
|
1117
|
-
|
|
1118
|
-
### Parameters
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
| Name | Type | Description | Notes |
|
|
1122
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1123
|
-
| **scormSessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
1124
|
-
|
|
1125
|
-
### Return type
|
|
1126
|
-
|
|
1127
|
-
`void` (Empty response body)
|
|
1128
|
-
|
|
1129
|
-
### Authorization
|
|
1130
|
-
|
|
1131
|
-
No authorization required
|
|
1132
|
-
|
|
1133
|
-
### HTTP request headers
|
|
1134
|
-
|
|
1135
|
-
- **Content-Type**: Not defined
|
|
1136
|
-
- **Accept**: Not defined
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
### HTTP response details
|
|
1140
|
-
| Status code | Description | Response headers |
|
|
1141
|
-
|-------------|-------------|------------------|
|
|
1142
|
-
| **200** | Successfully initialized SCORM session | - |
|
|
1143
|
-
| **401** | Unauthorized | - |
|
|
1144
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
1145
|
-
| **404** | SCORM session not found | - |
|
|
1146
|
-
|
|
1147
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
## listContentSessions
|
|
1151
|
-
|
|
1152
|
-
> GetContentSessionList listContentSessions(contentId, moduleId, courseId, environment, userId, page, pageSize)
|
|
1153
|
-
|
|
1154
|
-
List content sessions (instructor only)
|
|
1155
|
-
|
|
1156
|
-
Get a paginated list of all content sessions for a specific content item
|
|
1157
|
-
|
|
1158
|
-
### Example
|
|
1159
|
-
|
|
1160
|
-
```ts
|
|
1161
|
-
import {
|
|
1162
|
-
Configuration,
|
|
1163
|
-
ContentApi,
|
|
1164
|
-
} from '@easyedu/js-lsm-api';
|
|
1165
|
-
import type { ListContentSessionsRequest } from '@easyedu/js-lsm-api';
|
|
1166
|
-
|
|
1167
|
-
async function example() {
|
|
1168
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1169
|
-
const api = new ContentApi();
|
|
1170
|
-
|
|
1171
|
-
const body = {
|
|
1172
|
-
// string
|
|
1173
|
-
contentId: contentId_example,
|
|
1174
|
-
// string
|
|
1175
|
-
moduleId: moduleId_example,
|
|
1176
|
-
// string
|
|
1177
|
-
courseId: courseId_example,
|
|
1178
|
-
// 'SANDBOX' | 'LIVE' | Filter sessions by environment type (SANDBOX or LIVE) (optional)
|
|
1179
|
-
environment: environment_example,
|
|
1180
|
-
// string | Filter sessions by user ID (external ID) (optional)
|
|
1181
|
-
userId: userId_example,
|
|
1182
|
-
// number | Page number for pagination (optional)
|
|
1183
|
-
page: 56,
|
|
1184
|
-
// number | Number of items per page (optional)
|
|
1185
|
-
pageSize: 56,
|
|
1186
|
-
} satisfies ListContentSessionsRequest;
|
|
1187
|
-
|
|
1188
|
-
try {
|
|
1189
|
-
const data = await api.listContentSessions(body);
|
|
1190
|
-
console.log(data);
|
|
1191
|
-
} catch (error) {
|
|
1192
|
-
console.error(error);
|
|
1193
|
-
}
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
// Run the test
|
|
1197
|
-
example().catch(console.error);
|
|
1198
|
-
```
|
|
1199
|
-
|
|
1200
|
-
### Parameters
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
| Name | Type | Description | Notes |
|
|
1204
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1205
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
1206
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1207
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1208
|
-
| **environment** | `SANDBOX`, `LIVE` | Filter sessions by environment type (SANDBOX or LIVE) | [Optional] [Defaults to `undefined`] [Enum: SANDBOX, LIVE] |
|
|
1209
|
-
| **userId** | `string` | Filter sessions by user ID (external ID) | [Optional] [Defaults to `undefined`] |
|
|
1210
|
-
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
1211
|
-
| **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `20`] |
|
|
1212
|
-
|
|
1213
|
-
### Return type
|
|
1214
|
-
|
|
1215
|
-
[**GetContentSessionList**](GetContentSessionList.md)
|
|
1216
|
-
|
|
1217
|
-
### Authorization
|
|
1218
|
-
|
|
1219
|
-
No authorization required
|
|
1220
|
-
|
|
1221
|
-
### HTTP request headers
|
|
1222
|
-
|
|
1223
|
-
- **Content-Type**: Not defined
|
|
1224
|
-
- **Accept**: `application/json`
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
### HTTP response details
|
|
1228
|
-
| Status code | Description | Response headers |
|
|
1229
|
-
|-------------|-------------|------------------|
|
|
1230
|
-
| **200** | Successfully retrieved content sessions | - |
|
|
1231
|
-
| **401** | Unauthorized | - |
|
|
1232
|
-
| **403** | Forbidden - instructor role required | - |
|
|
1233
|
-
| **404** | Content not found | - |
|
|
1234
|
-
|
|
1235
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
## postContentDuplicate
|
|
1239
|
-
|
|
1240
|
-
> GetContent postContentDuplicate(courseId, moduleId, contentId, postDuplicate2)
|
|
1241
|
-
|
|
1242
|
-
Duplicate a content item
|
|
1243
|
-
|
|
1244
|
-
Deep-clones a content item including version records, SCORM hierarchy, and quiz configuration within the same module.
|
|
1245
|
-
|
|
1246
|
-
### Example
|
|
1247
|
-
|
|
1248
|
-
```ts
|
|
1249
|
-
import {
|
|
1250
|
-
Configuration,
|
|
1251
|
-
ContentApi,
|
|
1252
|
-
} from '@easyedu/js-lsm-api';
|
|
1253
|
-
import type { PostContentDuplicateRequest } from '@easyedu/js-lsm-api';
|
|
1254
|
-
|
|
1255
|
-
async function example() {
|
|
1256
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1257
|
-
const api = new ContentApi();
|
|
1258
|
-
|
|
1259
|
-
const body = {
|
|
1260
|
-
// string
|
|
1261
|
-
courseId: courseId_example,
|
|
1262
|
-
// string
|
|
1263
|
-
moduleId: moduleId_example,
|
|
1264
|
-
// string
|
|
1265
|
-
contentId: contentId_example,
|
|
1266
|
-
// PostDuplicate2 (optional)
|
|
1267
|
-
postDuplicate2: ...,
|
|
1268
|
-
} satisfies PostContentDuplicateRequest;
|
|
1269
|
-
|
|
1270
|
-
try {
|
|
1271
|
-
const data = await api.postContentDuplicate(body);
|
|
1272
|
-
console.log(data);
|
|
1273
|
-
} catch (error) {
|
|
1274
|
-
console.error(error);
|
|
1275
|
-
}
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
// Run the test
|
|
1279
|
-
example().catch(console.error);
|
|
1280
|
-
```
|
|
1281
|
-
|
|
1282
|
-
### Parameters
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
| Name | Type | Description | Notes |
|
|
1286
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1287
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1288
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1289
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
1290
|
-
| **postDuplicate2** | [PostDuplicate2](PostDuplicate2.md) | | [Optional] |
|
|
1291
|
-
|
|
1292
|
-
### Return type
|
|
1293
|
-
|
|
1294
|
-
[**GetContent**](GetContent.md)
|
|
1295
|
-
|
|
1296
|
-
### Authorization
|
|
1297
|
-
|
|
1298
|
-
No authorization required
|
|
1299
|
-
|
|
1300
|
-
### HTTP request headers
|
|
1301
|
-
|
|
1302
|
-
- **Content-Type**: `application/json`
|
|
1303
|
-
- **Accept**: `application/json`
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
### HTTP response details
|
|
1307
|
-
| Status code | Description | Response headers |
|
|
1308
|
-
|-------------|-------------|------------------|
|
|
1309
|
-
| **201** | Content duplicated successfully | - |
|
|
1310
|
-
| **404** | Content not found | - |
|
|
1311
|
-
|
|
1312
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
## postContentProcess
|
|
1316
|
-
|
|
1317
|
-
> GetContent postContentProcess(moduleId, courseId, contentId)
|
|
1318
|
-
|
|
1319
|
-
Post a new content process
|
|
1320
|
-
|
|
1321
|
-
### Example
|
|
1322
|
-
|
|
1323
|
-
```ts
|
|
1324
|
-
import {
|
|
1325
|
-
Configuration,
|
|
1326
|
-
ContentApi,
|
|
1327
|
-
} from '@easyedu/js-lsm-api';
|
|
1328
|
-
import type { PostContentProcessRequest } from '@easyedu/js-lsm-api';
|
|
1329
|
-
|
|
1330
|
-
async function example() {
|
|
1331
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1332
|
-
const api = new ContentApi();
|
|
1333
|
-
|
|
1334
|
-
const body = {
|
|
1335
|
-
// string
|
|
1336
|
-
moduleId: moduleId_example,
|
|
1337
|
-
// string
|
|
1338
|
-
courseId: courseId_example,
|
|
1339
|
-
// string
|
|
1340
|
-
contentId: contentId_example,
|
|
1341
|
-
} satisfies PostContentProcessRequest;
|
|
1342
|
-
|
|
1343
|
-
try {
|
|
1344
|
-
const data = await api.postContentProcess(body);
|
|
1345
|
-
console.log(data);
|
|
1346
|
-
} catch (error) {
|
|
1347
|
-
console.error(error);
|
|
1348
|
-
}
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
// Run the test
|
|
1352
|
-
example().catch(console.error);
|
|
1353
|
-
```
|
|
1354
|
-
|
|
1355
|
-
### Parameters
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
| Name | Type | Description | Notes |
|
|
1359
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1360
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1361
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1362
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
1363
|
-
|
|
1364
|
-
### Return type
|
|
1365
|
-
|
|
1366
|
-
[**GetContent**](GetContent.md)
|
|
1367
|
-
|
|
1368
|
-
### Authorization
|
|
1369
|
-
|
|
1370
|
-
No authorization required
|
|
1371
|
-
|
|
1372
|
-
### HTTP request headers
|
|
1373
|
-
|
|
1374
|
-
- **Content-Type**: Not defined
|
|
1375
|
-
- **Accept**: `application/json`
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
### HTTP response details
|
|
1379
|
-
| Status code | Description | Response headers |
|
|
1380
|
-
|-------------|-------------|------------------|
|
|
1381
|
-
| **200** | post content response OK | - |
|
|
1382
|
-
|
|
1383
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
## postContentQuiz
|
|
1387
|
-
|
|
1388
|
-
> GetContent postContentQuiz(moduleId, courseId, postContentQuiz)
|
|
1389
|
-
|
|
1390
|
-
Create a new quiz content
|
|
1391
|
-
|
|
1392
|
-
### Example
|
|
1393
|
-
|
|
1394
|
-
```ts
|
|
1395
|
-
import {
|
|
1396
|
-
Configuration,
|
|
1397
|
-
ContentApi,
|
|
1398
|
-
} from '@easyedu/js-lsm-api';
|
|
1399
|
-
import type { PostContentQuizRequest } from '@easyedu/js-lsm-api';
|
|
1400
|
-
|
|
1401
|
-
async function example() {
|
|
1402
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1403
|
-
const api = new ContentApi();
|
|
1404
|
-
|
|
1405
|
-
const body = {
|
|
1406
|
-
// string
|
|
1407
|
-
moduleId: moduleId_example,
|
|
1408
|
-
// string
|
|
1409
|
-
courseId: courseId_example,
|
|
1410
|
-
// PostContentQuiz | Quiz content object that needs to be created
|
|
1411
|
-
postContentQuiz: ...,
|
|
1412
|
-
} satisfies PostContentQuizRequest;
|
|
1413
|
-
|
|
1414
|
-
try {
|
|
1415
|
-
const data = await api.postContentQuiz(body);
|
|
1416
|
-
console.log(data);
|
|
1417
|
-
} catch (error) {
|
|
1418
|
-
console.error(error);
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
// Run the test
|
|
1423
|
-
example().catch(console.error);
|
|
1424
|
-
```
|
|
1425
|
-
|
|
1426
|
-
### Parameters
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
| Name | Type | Description | Notes |
|
|
1430
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1431
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1432
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1433
|
-
| **postContentQuiz** | [PostContentQuiz](PostContentQuiz.md) | Quiz content object that needs to be created | |
|
|
1434
|
-
|
|
1435
|
-
### Return type
|
|
1436
|
-
|
|
1437
|
-
[**GetContent**](GetContent.md)
|
|
1438
|
-
|
|
1439
|
-
### Authorization
|
|
1440
|
-
|
|
1441
|
-
No authorization required
|
|
1442
|
-
|
|
1443
|
-
### HTTP request headers
|
|
1444
|
-
|
|
1445
|
-
- **Content-Type**: `application/json`
|
|
1446
|
-
- **Accept**: `application/json`
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
### HTTP response details
|
|
1450
|
-
| Status code | Description | Response headers |
|
|
1451
|
-
|-------------|-------------|------------------|
|
|
1452
|
-
| **200** | post content quiz response OK | - |
|
|
1453
|
-
| **400** | post content quiz response error | - |
|
|
1454
|
-
|
|
1455
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
## postContentSession
|
|
1459
|
-
|
|
1460
|
-
> PostContentSession postContentSession(contentId, moduleId, courseId, environment)
|
|
1461
|
-
|
|
1462
|
-
Post a new content session
|
|
1463
|
-
|
|
1464
|
-
### Example
|
|
1465
|
-
|
|
1466
|
-
```ts
|
|
1467
|
-
import {
|
|
1468
|
-
Configuration,
|
|
1469
|
-
ContentApi,
|
|
1470
|
-
} from '@easyedu/js-lsm-api';
|
|
1471
|
-
import type { PostContentSessionRequest } from '@easyedu/js-lsm-api';
|
|
1472
|
-
|
|
1473
|
-
async function example() {
|
|
1474
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1475
|
-
const api = new ContentApi();
|
|
1476
|
-
|
|
1477
|
-
const body = {
|
|
1478
|
-
// string
|
|
1479
|
-
contentId: contentId_example,
|
|
1480
|
-
// string
|
|
1481
|
-
moduleId: moduleId_example,
|
|
1482
|
-
// string
|
|
1483
|
-
courseId: courseId_example,
|
|
1484
|
-
// 'sandbox' | 'live' | Environment type for the session (defaults to live) (optional)
|
|
1485
|
-
environment: environment_example,
|
|
1486
|
-
} satisfies PostContentSessionRequest;
|
|
1487
|
-
|
|
1488
|
-
try {
|
|
1489
|
-
const data = await api.postContentSession(body);
|
|
1490
|
-
console.log(data);
|
|
1491
|
-
} catch (error) {
|
|
1492
|
-
console.error(error);
|
|
1493
|
-
}
|
|
1494
|
-
}
|
|
1495
|
-
|
|
1496
|
-
// Run the test
|
|
1497
|
-
example().catch(console.error);
|
|
1498
|
-
```
|
|
1499
|
-
|
|
1500
|
-
### Parameters
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
| Name | Type | Description | Notes |
|
|
1504
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1505
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
1506
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1507
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1508
|
-
| **environment** | `sandbox`, `live` | Environment type for the session (defaults to live) | [Optional] [Defaults to `'live'`] [Enum: sandbox, live] |
|
|
1509
|
-
|
|
1510
|
-
### Return type
|
|
1511
|
-
|
|
1512
|
-
[**PostContentSession**](PostContentSession.md)
|
|
1513
|
-
|
|
1514
|
-
### Authorization
|
|
1515
|
-
|
|
1516
|
-
No authorization required
|
|
1517
|
-
|
|
1518
|
-
### HTTP request headers
|
|
1519
|
-
|
|
1520
|
-
- **Content-Type**: Not defined
|
|
1521
|
-
- **Accept**: `application/json`
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
### HTTP response details
|
|
1525
|
-
| Status code | Description | Response headers |
|
|
1526
|
-
|-------------|-------------|------------------|
|
|
1527
|
-
| **200** | post session response OK | - |
|
|
1528
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
1529
|
-
| **404** | Course, module, or content not found | - |
|
|
1530
|
-
|
|
1531
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
## postContentSessionRetake
|
|
1535
|
-
|
|
1536
|
-
> PostContentSession postContentSessionRetake(contentId, moduleId, courseId, environment)
|
|
1537
|
-
|
|
1538
|
-
Create a new retake content session
|
|
1539
|
-
|
|
1540
|
-
### Example
|
|
1541
|
-
|
|
1542
|
-
```ts
|
|
1543
|
-
import {
|
|
1544
|
-
Configuration,
|
|
1545
|
-
ContentApi,
|
|
1546
|
-
} from '@easyedu/js-lsm-api';
|
|
1547
|
-
import type { PostContentSessionRetakeRequest } from '@easyedu/js-lsm-api';
|
|
1548
|
-
|
|
1549
|
-
async function example() {
|
|
1550
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1551
|
-
const api = new ContentApi();
|
|
1552
|
-
|
|
1553
|
-
const body = {
|
|
1554
|
-
// string
|
|
1555
|
-
contentId: contentId_example,
|
|
1556
|
-
// string
|
|
1557
|
-
moduleId: moduleId_example,
|
|
1558
|
-
// string
|
|
1559
|
-
courseId: courseId_example,
|
|
1560
|
-
// 'sandbox' | 'live' | Environment type for the session (defaults to live) (optional)
|
|
1561
|
-
environment: environment_example,
|
|
1562
|
-
} satisfies PostContentSessionRetakeRequest;
|
|
1563
|
-
|
|
1564
|
-
try {
|
|
1565
|
-
const data = await api.postContentSessionRetake(body);
|
|
1566
|
-
console.log(data);
|
|
1567
|
-
} catch (error) {
|
|
1568
|
-
console.error(error);
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
// Run the test
|
|
1573
|
-
example().catch(console.error);
|
|
1574
|
-
```
|
|
1575
|
-
|
|
1576
|
-
### Parameters
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
| Name | Type | Description | Notes |
|
|
1580
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1581
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
1582
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1583
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1584
|
-
| **environment** | `sandbox`, `live` | Environment type for the session (defaults to live) | [Optional] [Defaults to `'live'`] [Enum: sandbox, live] |
|
|
1585
|
-
|
|
1586
|
-
### Return type
|
|
1587
|
-
|
|
1588
|
-
[**PostContentSession**](PostContentSession.md)
|
|
1589
|
-
|
|
1590
|
-
### Authorization
|
|
1591
|
-
|
|
1592
|
-
No authorization required
|
|
1593
|
-
|
|
1594
|
-
### HTTP request headers
|
|
1595
|
-
|
|
1596
|
-
- **Content-Type**: Not defined
|
|
1597
|
-
- **Accept**: `application/json`
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
### HTTP response details
|
|
1601
|
-
| Status code | Description | Response headers |
|
|
1602
|
-
|-------------|-------------|------------------|
|
|
1603
|
-
| **200** | post retake session response OK | - |
|
|
1604
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
1605
|
-
| **404** | Course, module, or content not found | - |
|
|
1606
|
-
| **409** | Maximum attempts reached for this content | - |
|
|
1607
|
-
|
|
1608
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
## postContentUpload
|
|
1612
|
-
|
|
1613
|
-
> GetContentUpload postContentUpload(moduleId, courseId, postContentUpload)
|
|
1614
|
-
|
|
1615
|
-
Post a new content upload
|
|
1616
|
-
|
|
1617
|
-
### Example
|
|
1618
|
-
|
|
1619
|
-
```ts
|
|
1620
|
-
import {
|
|
1621
|
-
Configuration,
|
|
1622
|
-
ContentApi,
|
|
1623
|
-
} from '@easyedu/js-lsm-api';
|
|
1624
|
-
import type { PostContentUploadRequest } from '@easyedu/js-lsm-api';
|
|
1625
|
-
|
|
1626
|
-
async function example() {
|
|
1627
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1628
|
-
const api = new ContentApi();
|
|
1629
|
-
|
|
1630
|
-
const body = {
|
|
1631
|
-
// string
|
|
1632
|
-
moduleId: moduleId_example,
|
|
1633
|
-
// string
|
|
1634
|
-
courseId: courseId_example,
|
|
1635
|
-
// PostContentUpload | Content object that needs to be added
|
|
1636
|
-
postContentUpload: ...,
|
|
1637
|
-
} satisfies PostContentUploadRequest;
|
|
1638
|
-
|
|
1639
|
-
try {
|
|
1640
|
-
const data = await api.postContentUpload(body);
|
|
1641
|
-
console.log(data);
|
|
1642
|
-
} catch (error) {
|
|
1643
|
-
console.error(error);
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
// Run the test
|
|
1648
|
-
example().catch(console.error);
|
|
1649
|
-
```
|
|
1650
|
-
|
|
1651
|
-
### Parameters
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
| Name | Type | Description | Notes |
|
|
1655
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1656
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1657
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1658
|
-
| **postContentUpload** | [PostContentUpload](PostContentUpload.md) | Content object that needs to be added | |
|
|
1659
|
-
|
|
1660
|
-
### Return type
|
|
1661
|
-
|
|
1662
|
-
[**GetContentUpload**](GetContentUpload.md)
|
|
1663
|
-
|
|
1664
|
-
### Authorization
|
|
1665
|
-
|
|
1666
|
-
No authorization required
|
|
1667
|
-
|
|
1668
|
-
### HTTP request headers
|
|
1669
|
-
|
|
1670
|
-
- **Content-Type**: `application/json`
|
|
1671
|
-
- **Accept**: `application/json`
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
### HTTP response details
|
|
1675
|
-
| Status code | Description | Response headers |
|
|
1676
|
-
|-------------|-------------|------------------|
|
|
1677
|
-
| **200** | post content upload response OK | - |
|
|
1678
|
-
|
|
1679
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
## putContent
|
|
1683
|
-
|
|
1684
|
-
> GetContent putContent(contentId, moduleId, courseId, putContent)
|
|
1685
|
-
|
|
1686
|
-
Update content by id
|
|
1687
|
-
|
|
1688
|
-
### Example
|
|
1689
|
-
|
|
1690
|
-
```ts
|
|
1691
|
-
import {
|
|
1692
|
-
Configuration,
|
|
1693
|
-
ContentApi,
|
|
1694
|
-
} from '@easyedu/js-lsm-api';
|
|
1695
|
-
import type { PutContentRequest } from '@easyedu/js-lsm-api';
|
|
1696
|
-
|
|
1697
|
-
async function example() {
|
|
1698
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1699
|
-
const api = new ContentApi();
|
|
1700
|
-
|
|
1701
|
-
const body = {
|
|
1702
|
-
// string
|
|
1703
|
-
contentId: contentId_example,
|
|
1704
|
-
// string
|
|
1705
|
-
moduleId: moduleId_example,
|
|
1706
|
-
// string
|
|
1707
|
-
courseId: courseId_example,
|
|
1708
|
-
// PutContent | Content object that needs to be updated
|
|
1709
|
-
putContent: ...,
|
|
1710
|
-
} satisfies PutContentRequest;
|
|
1711
|
-
|
|
1712
|
-
try {
|
|
1713
|
-
const data = await api.putContent(body);
|
|
1714
|
-
console.log(data);
|
|
1715
|
-
} catch (error) {
|
|
1716
|
-
console.error(error);
|
|
1717
|
-
}
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
|
-
// Run the test
|
|
1721
|
-
example().catch(console.error);
|
|
1722
|
-
```
|
|
1723
|
-
|
|
1724
|
-
### Parameters
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
| Name | Type | Description | Notes |
|
|
1728
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1729
|
-
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
1730
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1731
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1732
|
-
| **putContent** | [PutContent](PutContent.md) | Content object that needs to be updated | |
|
|
1733
|
-
|
|
1734
|
-
### Return type
|
|
1735
|
-
|
|
1736
|
-
[**GetContent**](GetContent.md)
|
|
1737
|
-
|
|
1738
|
-
### Authorization
|
|
1739
|
-
|
|
1740
|
-
No authorization required
|
|
1741
|
-
|
|
1742
|
-
### HTTP request headers
|
|
1743
|
-
|
|
1744
|
-
- **Content-Type**: `application/json`
|
|
1745
|
-
- **Accept**: `application/json`
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
### HTTP response details
|
|
1749
|
-
| Status code | Description | Response headers |
|
|
1750
|
-
|-------------|-------------|------------------|
|
|
1751
|
-
| **200** | put content response OK | - |
|
|
1752
|
-
|
|
1753
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
## putContentReorder
|
|
1757
|
-
|
|
1758
|
-
> putContentReorder(moduleId, courseId, putContentReorder)
|
|
1759
|
-
|
|
1760
|
-
Reorder content in a module
|
|
1761
|
-
|
|
1762
|
-
### Example
|
|
1763
|
-
|
|
1764
|
-
```ts
|
|
1765
|
-
import {
|
|
1766
|
-
Configuration,
|
|
1767
|
-
ContentApi,
|
|
1768
|
-
} from '@easyedu/js-lsm-api';
|
|
1769
|
-
import type { PutContentReorderRequest } from '@easyedu/js-lsm-api';
|
|
1770
|
-
|
|
1771
|
-
async function example() {
|
|
1772
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1773
|
-
const api = new ContentApi();
|
|
1774
|
-
|
|
1775
|
-
const body = {
|
|
1776
|
-
// string
|
|
1777
|
-
moduleId: moduleId_example,
|
|
1778
|
-
// string
|
|
1779
|
-
courseId: courseId_example,
|
|
1780
|
-
// PutContentReorder | Ordered list of content IDs
|
|
1781
|
-
putContentReorder: ...,
|
|
1782
|
-
} satisfies PutContentReorderRequest;
|
|
1783
|
-
|
|
1784
|
-
try {
|
|
1785
|
-
const data = await api.putContentReorder(body);
|
|
1786
|
-
console.log(data);
|
|
1787
|
-
} catch (error) {
|
|
1788
|
-
console.error(error);
|
|
1789
|
-
}
|
|
1790
|
-
}
|
|
1791
|
-
|
|
1792
|
-
// Run the test
|
|
1793
|
-
example().catch(console.error);
|
|
1794
|
-
```
|
|
1795
|
-
|
|
1796
|
-
### Parameters
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
| Name | Type | Description | Notes |
|
|
1800
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1801
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1802
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1803
|
-
| **putContentReorder** | [PutContentReorder](PutContentReorder.md) | Ordered list of content IDs | |
|
|
1804
|
-
|
|
1805
|
-
### Return type
|
|
1806
|
-
|
|
1807
|
-
`void` (Empty response body)
|
|
1808
|
-
|
|
1809
|
-
### Authorization
|
|
1810
|
-
|
|
1811
|
-
No authorization required
|
|
1812
|
-
|
|
1813
|
-
### HTTP request headers
|
|
1814
|
-
|
|
1815
|
-
- **Content-Type**: `application/json`
|
|
1816
|
-
- **Accept**: Not defined
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
### HTTP response details
|
|
1820
|
-
| Status code | Description | Response headers |
|
|
1821
|
-
|-------------|-------------|------------------|
|
|
1822
|
-
| **200** | Content reordered successfully | - |
|
|
1823
|
-
|
|
1824
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
## putContentUploadFile
|
|
1828
|
-
|
|
1829
|
-
> putContentUploadFile(courseId, moduleId, uploadId, body)
|
|
1830
|
-
|
|
1831
|
-
Upload content file through the API
|
|
1832
|
-
|
|
1833
|
-
### Example
|
|
1834
|
-
|
|
1835
|
-
```ts
|
|
1836
|
-
import {
|
|
1837
|
-
Configuration,
|
|
1838
|
-
ContentApi,
|
|
1839
|
-
} from '@easyedu/js-lsm-api';
|
|
1840
|
-
import type { PutContentUploadFileRequest } from '@easyedu/js-lsm-api';
|
|
1841
|
-
|
|
1842
|
-
async function example() {
|
|
1843
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1844
|
-
const api = new ContentApi();
|
|
1845
|
-
|
|
1846
|
-
const body = {
|
|
1847
|
-
// string
|
|
1848
|
-
courseId: courseId_example,
|
|
1849
|
-
// string
|
|
1850
|
-
moduleId: moduleId_example,
|
|
1851
|
-
// number
|
|
1852
|
-
uploadId: 56,
|
|
1853
|
-
// Blob
|
|
1854
|
-
body: BINARY_DATA_HERE,
|
|
1855
|
-
} satisfies PutContentUploadFileRequest;
|
|
1856
|
-
|
|
1857
|
-
try {
|
|
1858
|
-
const data = await api.putContentUploadFile(body);
|
|
1859
|
-
console.log(data);
|
|
1860
|
-
} catch (error) {
|
|
1861
|
-
console.error(error);
|
|
1862
|
-
}
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
// Run the test
|
|
1866
|
-
example().catch(console.error);
|
|
1867
|
-
```
|
|
1868
|
-
|
|
1869
|
-
### Parameters
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
| Name | Type | Description | Notes |
|
|
1873
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1874
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1875
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1876
|
-
| **uploadId** | `number` | | [Defaults to `undefined`] |
|
|
1877
|
-
| **body** | `Blob` | | |
|
|
1878
|
-
|
|
1879
|
-
### Return type
|
|
1880
|
-
|
|
1881
|
-
`void` (Empty response body)
|
|
1882
|
-
|
|
1883
|
-
### Authorization
|
|
1884
|
-
|
|
1885
|
-
No authorization required
|
|
1886
|
-
|
|
1887
|
-
### HTTP request headers
|
|
1888
|
-
|
|
1889
|
-
- **Content-Type**: `application/octet-stream`
|
|
1890
|
-
- **Accept**: Not defined
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
### HTTP response details
|
|
1894
|
-
| Status code | Description | Response headers |
|
|
1895
|
-
|-------------|-------------|------------------|
|
|
1896
|
-
| **204** | File uploaded successfully | - |
|
|
1897
|
-
| **401** | Unauthorized | - |
|
|
1898
|
-
| **403** | Forbidden | - |
|
|
1899
|
-
| **404** | Course, module, or content upload not found | - |
|
|
1900
|
-
| **413** | File too large | - |
|
|
1901
|
-
|
|
1902
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
## putContentVersion
|
|
1906
|
-
|
|
1907
|
-
> GetContentVersion putContentVersion(contentId, moduleId, courseId, versionId, putContentVersion)
|
|
1908
|
-
|
|
1909
|
-
Update a content version
|
|
1910
|
-
|
|
1911
|
-
Activates this version by setting is_active to true. Automatically deactivates all other versions of the same content. Only setting is_active to true is allowed.
|
|
1912
|
-
|
|
1913
|
-
### Example
|
|
1914
|
-
|
|
1915
|
-
```ts
|
|
1916
|
-
import {
|
|
1917
|
-
Configuration,
|
|
1918
|
-
ContentApi,
|
|
1919
|
-
} from '@easyedu/js-lsm-api';
|
|
1920
|
-
import type { PutContentVersionRequest } from '@easyedu/js-lsm-api';
|
|
1921
|
-
|
|
1922
|
-
async function example() {
|
|
1923
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
1924
|
-
const api = new ContentApi();
|
|
1925
|
-
|
|
1926
|
-
const body = {
|
|
1927
|
-
// string | The content\'s external_id
|
|
1928
|
-
contentId: contentId_example,
|
|
1929
|
-
// string
|
|
1930
|
-
moduleId: moduleId_example,
|
|
1931
|
-
// string
|
|
1932
|
-
courseId: courseId_example,
|
|
1933
|
-
// string | The version\'s external_id
|
|
1934
|
-
versionId: versionId_example,
|
|
1935
|
-
// PutContentVersion
|
|
1936
|
-
putContentVersion: ...,
|
|
1937
|
-
} satisfies PutContentVersionRequest;
|
|
1938
|
-
|
|
1939
|
-
try {
|
|
1940
|
-
const data = await api.putContentVersion(body);
|
|
1941
|
-
console.log(data);
|
|
1942
|
-
} catch (error) {
|
|
1943
|
-
console.error(error);
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
// Run the test
|
|
1948
|
-
example().catch(console.error);
|
|
1949
|
-
```
|
|
1950
|
-
|
|
1951
|
-
### Parameters
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
| Name | Type | Description | Notes |
|
|
1955
|
-
|------------- | ------------- | ------------- | -------------|
|
|
1956
|
-
| **contentId** | `string` | The content\'s external_id | [Defaults to `undefined`] |
|
|
1957
|
-
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
1958
|
-
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
1959
|
-
| **versionId** | `string` | The version\'s external_id | [Defaults to `undefined`] |
|
|
1960
|
-
| **putContentVersion** | [PutContentVersion](PutContentVersion.md) | | |
|
|
1961
|
-
|
|
1962
|
-
### Return type
|
|
1963
|
-
|
|
1964
|
-
[**GetContentVersion**](GetContentVersion.md)
|
|
1965
|
-
|
|
1966
|
-
### Authorization
|
|
1967
|
-
|
|
1968
|
-
No authorization required
|
|
1969
|
-
|
|
1970
|
-
### HTTP request headers
|
|
1971
|
-
|
|
1972
|
-
- **Content-Type**: `application/json`
|
|
1973
|
-
- **Accept**: `application/json`
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
### HTTP response details
|
|
1977
|
-
| Status code | Description | Response headers |
|
|
1978
|
-
|-------------|-------------|------------------|
|
|
1979
|
-
| **200** | Successfully updated content version | - |
|
|
1980
|
-
| **400** | Bad request (e.g., trying to set is_active to false) | - |
|
|
1981
|
-
| **401** | Unauthorized | - |
|
|
1982
|
-
| **403** | Forbidden - you do not have permission to update this content version | - |
|
|
1983
|
-
| **404** | Content or version not found | - |
|
|
1984
|
-
|
|
1985
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
## setScormValue
|
|
1989
|
-
|
|
1990
|
-
> ScormSetValueResponse setScormValue(scormSessionId, scormSetValueRequest)
|
|
1991
|
-
|
|
1992
|
-
Set a SCORM CMI data element value
|
|
1993
|
-
|
|
1994
|
-
Update the value of a specific SCORM CMI data element in the session
|
|
1995
|
-
|
|
1996
|
-
### Example
|
|
1997
|
-
|
|
1998
|
-
```ts
|
|
1999
|
-
import {
|
|
2000
|
-
Configuration,
|
|
2001
|
-
ContentApi,
|
|
2002
|
-
} from '@easyedu/js-lsm-api';
|
|
2003
|
-
import type { SetScormValueRequest } from '@easyedu/js-lsm-api';
|
|
2004
|
-
|
|
2005
|
-
async function example() {
|
|
2006
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
2007
|
-
const api = new ContentApi();
|
|
2008
|
-
|
|
2009
|
-
const body = {
|
|
2010
|
-
// string | The external_id of the SCORM session
|
|
2011
|
-
scormSessionId: scormSessionId_example,
|
|
2012
|
-
// ScormSetValueRequest
|
|
2013
|
-
scormSetValueRequest: ...,
|
|
2014
|
-
} satisfies SetScormValueRequest;
|
|
2015
|
-
|
|
2016
|
-
try {
|
|
2017
|
-
const data = await api.setScormValue(body);
|
|
2018
|
-
console.log(data);
|
|
2019
|
-
} catch (error) {
|
|
2020
|
-
console.error(error);
|
|
2021
|
-
}
|
|
2022
|
-
}
|
|
2023
|
-
|
|
2024
|
-
// Run the test
|
|
2025
|
-
example().catch(console.error);
|
|
2026
|
-
```
|
|
2027
|
-
|
|
2028
|
-
### Parameters
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
| Name | Type | Description | Notes |
|
|
2032
|
-
|------------- | ------------- | ------------- | -------------|
|
|
2033
|
-
| **scormSessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
2034
|
-
| **scormSetValueRequest** | [ScormSetValueRequest](ScormSetValueRequest.md) | | |
|
|
2035
|
-
|
|
2036
|
-
### Return type
|
|
2037
|
-
|
|
2038
|
-
[**ScormSetValueResponse**](ScormSetValueResponse.md)
|
|
2039
|
-
|
|
2040
|
-
### Authorization
|
|
2041
|
-
|
|
2042
|
-
No authorization required
|
|
2043
|
-
|
|
2044
|
-
### HTTP request headers
|
|
2045
|
-
|
|
2046
|
-
- **Content-Type**: `application/json`
|
|
2047
|
-
- **Accept**: `application/json`
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
### HTTP response details
|
|
2051
|
-
| Status code | Description | Response headers |
|
|
2052
|
-
|-------------|-------------|------------------|
|
|
2053
|
-
| **200** | Successfully set CMI element value | - |
|
|
2054
|
-
| **401** | Unauthorized | - |
|
|
2055
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
2056
|
-
| **404** | SCORM session not found | - |
|
|
2057
|
-
|
|
2058
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
## terminateScormSession
|
|
2062
|
-
|
|
2063
|
-
> terminateScormSession(scormSessionId)
|
|
2064
|
-
|
|
2065
|
-
Terminate a SCORM session
|
|
2066
|
-
|
|
2067
|
-
Terminate the SCORM session and finalize all data
|
|
2068
|
-
|
|
2069
|
-
### Example
|
|
2070
|
-
|
|
2071
|
-
```ts
|
|
2072
|
-
import {
|
|
2073
|
-
Configuration,
|
|
2074
|
-
ContentApi,
|
|
2075
|
-
} from '@easyedu/js-lsm-api';
|
|
2076
|
-
import type { TerminateScormSessionRequest } from '@easyedu/js-lsm-api';
|
|
2077
|
-
|
|
2078
|
-
async function example() {
|
|
2079
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
2080
|
-
const api = new ContentApi();
|
|
2081
|
-
|
|
2082
|
-
const body = {
|
|
2083
|
-
// string | The external_id of the SCORM session
|
|
2084
|
-
scormSessionId: scormSessionId_example,
|
|
2085
|
-
} satisfies TerminateScormSessionRequest;
|
|
2086
|
-
|
|
2087
|
-
try {
|
|
2088
|
-
const data = await api.terminateScormSession(body);
|
|
2089
|
-
console.log(data);
|
|
2090
|
-
} catch (error) {
|
|
2091
|
-
console.error(error);
|
|
2092
|
-
}
|
|
2093
|
-
}
|
|
2094
|
-
|
|
2095
|
-
// Run the test
|
|
2096
|
-
example().catch(console.error);
|
|
2097
|
-
```
|
|
2098
|
-
|
|
2099
|
-
### Parameters
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
| Name | Type | Description | Notes |
|
|
2103
|
-
|------------- | ------------- | ------------- | -------------|
|
|
2104
|
-
| **scormSessionId** | `string` | The external_id of the SCORM session | [Defaults to `undefined`] |
|
|
2105
|
-
|
|
2106
|
-
### Return type
|
|
2107
|
-
|
|
2108
|
-
`void` (Empty response body)
|
|
2109
|
-
|
|
2110
|
-
### Authorization
|
|
2111
|
-
|
|
2112
|
-
No authorization required
|
|
2113
|
-
|
|
2114
|
-
### HTTP request headers
|
|
2115
|
-
|
|
2116
|
-
- **Content-Type**: Not defined
|
|
2117
|
-
- **Accept**: Not defined
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
### HTTP response details
|
|
2121
|
-
| Status code | Description | Response headers |
|
|
2122
|
-
|-------------|-------------|------------------|
|
|
2123
|
-
| **200** | Successfully terminated SCORM session | - |
|
|
2124
|
-
| **401** | Unauthorized | - |
|
|
2125
|
-
| **403** | Forbidden - enrollment is expired, suspended, or otherwise not launchable | - |
|
|
2126
|
-
| **404** | SCORM session not found | - |
|
|
2127
|
-
|
|
2128
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
## verifyScormManifest
|
|
2132
|
-
|
|
2133
|
-
> PostVerifyManifest verifyScormManifest(body)
|
|
2134
|
-
|
|
2135
|
-
Parse and verify a SCORM manifest
|
|
2136
|
-
|
|
2137
|
-
Public endpoint that takes raw imsmanifest.xml content and returns only parsed values derived from the submitted manifest, plus validation warnings. Request body is limited to 1 MiB.
|
|
2138
|
-
|
|
2139
|
-
### Example
|
|
2140
|
-
|
|
2141
|
-
```ts
|
|
2142
|
-
import {
|
|
2143
|
-
Configuration,
|
|
2144
|
-
ContentApi,
|
|
2145
|
-
} from '@easyedu/js-lsm-api';
|
|
2146
|
-
import type { VerifyScormManifestRequest } from '@easyedu/js-lsm-api';
|
|
2147
|
-
|
|
2148
|
-
async function example() {
|
|
2149
|
-
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
2150
|
-
const api = new ContentApi();
|
|
2151
|
-
|
|
2152
|
-
const body = {
|
|
2153
|
-
// string
|
|
2154
|
-
body: body_example,
|
|
2155
|
-
} satisfies VerifyScormManifestRequest;
|
|
2156
|
-
|
|
2157
|
-
try {
|
|
2158
|
-
const data = await api.verifyScormManifest(body);
|
|
2159
|
-
console.log(data);
|
|
2160
|
-
} catch (error) {
|
|
2161
|
-
console.error(error);
|
|
2162
|
-
}
|
|
2163
|
-
}
|
|
2164
|
-
|
|
2165
|
-
// Run the test
|
|
2166
|
-
example().catch(console.error);
|
|
2167
|
-
```
|
|
2168
|
-
|
|
2169
|
-
### Parameters
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
| Name | Type | Description | Notes |
|
|
2173
|
-
|------------- | ------------- | ------------- | -------------|
|
|
2174
|
-
| **body** | `string` | | |
|
|
2175
|
-
|
|
2176
|
-
### Return type
|
|
2177
|
-
|
|
2178
|
-
[**PostVerifyManifest**](PostVerifyManifest.md)
|
|
2179
|
-
|
|
2180
|
-
### Authorization
|
|
2181
|
-
|
|
2182
|
-
No authorization required
|
|
2183
|
-
|
|
2184
|
-
### HTTP request headers
|
|
2185
|
-
|
|
2186
|
-
- **Content-Type**: `application/xml`, `text/xml`
|
|
2187
|
-
- **Accept**: `application/json`
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
### HTTP response details
|
|
2191
|
-
| Status code | Description | Response headers |
|
|
2192
|
-
|-------------|-------------|------------------|
|
|
2193
|
-
| **200** | Manifest parsed (check valid field for success) | - |
|
|
2194
|
-
| **400** | Request body is empty or not XML | - |
|
|
2195
|
-
| **413** | Request body exceeds 1 MiB | - |
|
|
2196
|
-
|
|
2197
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
2198
|
-
|