Skip to content

[BB-7296] Extend clone course api to include course settings fields

Pooja Kulkarni requested to merge pooja/extend-api-to-include-settings into main

Description

This PR extends the clone course API to include optional course settings fields. The settings are limited to those seen on the "Schedule & Details" page in Studio. If no settings fields are provided, then only the cloning task is triggered.

Supporting Information

This PR depends on the changes implemented in https://github.com/openedx/edx-platform/pull/32127, in addition to https://github.com/open-craft/edx-platform/pull/520. Jira ticket: BB-7296

Testing Instructions

  • Checkout this branch on your devstack.
  • Ensure your edx-platform contains the required changes mentioned above.
  • Test the clone course api as is (i.e. without sending any settings fields) and verify that the cloning process goes through as expected.
  • Now include the settings (described in README) in the api and verify that the newly created course has the settings applied.

Merge request reports