edX Course/Library Import/Export API
This is a public, versioned, RESTful API for importing and exporting full course content. The code was initially ripped from the existing import/export API in the CMS contentstore djangoapp and wrapped in Django Rest Framework view classes. It's a new djangoapp in the openedx directory which is largely an abstraction off the CMS Import/Export views. This PR includes configuration changes. Most notably, Studio is configured to serve the OAuth2 provider alongside the LMS. This is the initial thread on the code list: https://groups.google.com/forum/#!msg/edx-code/DmnHWmly25A/ZqjD1zb4o7oJ And this thread contains another description of the changes: https://groups.google.com/d/msg/edx-code/6dP9SEKsmqQ/Pvyn8fBDx68J There are a numerous non-covered lines, all of which are missing coverage in the CMS API this was ported from. They're mostly error conditions, such as handling of multipart file upload errors.
Showing
- cms/djangoapps/contentstore/tests/tests.py 1 addition, 1 deletioncms/djangoapps/contentstore/tests/tests.py
- cms/djangoapps/contentstore/views/import_export.py 101 additions, 420 deletionscms/djangoapps/contentstore/views/import_export.py
- cms/djangoapps/contentstore/views/tests/test_import_export.py 21 additions, 417 deletions...djangoapps/contentstore/views/tests/test_import_export.py
- cms/envs/aws.py 13 additions, 0 deletionscms/envs/aws.py
- cms/envs/common.py 37 additions, 1 deletioncms/envs/common.py
- cms/templates/export.html 24 additions, 0 deletionscms/templates/export.html
- cms/templates/import.html 1 addition, 1 deletioncms/templates/import.html
- cms/urls.py 13 additions, 8 deletionscms/urls.py
- lms/envs/aws.py 12 additions, 1 deletionlms/envs/aws.py
- lms/envs/common.py 11 additions, 0 deletionslms/envs/common.py
- lms/urls.py 2 additions, 0 deletionslms/urls.py
- openedx/core/djangoapps/import_export/__init__.py 3 additions, 0 deletionsopenedx/core/djangoapps/import_export/__init__.py
- openedx/core/djangoapps/import_export/courses/__init__.py 3 additions, 0 deletionsopenedx/core/djangoapps/import_export/courses/__init__.py
- openedx/core/djangoapps/import_export/courses/models.py 3 additions, 0 deletionsopenedx/core/djangoapps/import_export/courses/models.py
- openedx/core/djangoapps/import_export/courses/tests/__init__.py 3 additions, 0 deletions...x/core/djangoapps/import_export/courses/tests/__init__.py
- openedx/core/djangoapps/import_export/courses/tests/test_course_import_export.py 477 additions, 0 deletions.../import_export/courses/tests/test_course_import_export.py
- openedx/core/djangoapps/import_export/courses/tests/utils.py 100 additions, 0 deletionsopenedx/core/djangoapps/import_export/courses/tests/utils.py
- openedx/core/djangoapps/import_export/courses/urls.py 24 additions, 0 deletionsopenedx/core/djangoapps/import_export/courses/urls.py
- openedx/core/djangoapps/import_export/courses/views.py 528 additions, 0 deletionsopenedx/core/djangoapps/import_export/courses/views.py
- openedx/core/djangoapps/import_export/models.py 3 additions, 0 deletionsopenedx/core/djangoapps/import_export/models.py
Loading
Please register or sign in to comment