Summary
Implements the reverse conversion process from SCORM to DOCX, mirroring the existing DOCX to SCORM workflow. This includes two new API endpoints and fixes for various parsing and formatting issues.
Changes
New Features
- ScormToJson API endpoint: Converts SCORM ZIP files to JSON format
- Extracts and parses
questiondb.xml and imsmanifest.xml
- Populates Django models from SCORM XML structure
- Returns JSON in the same format as
WordToJson endpoint
API Endpoints
POST /api/scorm-to-json - Accepts SCORM ZIP file, returns JSON
POST /api/json-to-docx - Accepts JSON data, returns DOCX file
Summary
Implements the reverse conversion process from SCORM to DOCX, mirroring the existing DOCX to SCORM workflow. This includes two new API endpoints and fixes for various parsing and formatting issues.
Changes
New Features
questiondb.xmlandimsmanifest.xmlWordToJsonendpointAPI Endpoints
POST /api/scorm-to-json- Accepts SCORM ZIP file, returns JSONPOST /api/json-to-docx- Accepts JSON data, returns DOCX file