Skip to content

Conversation

@pkulkark
Copy link
Member

This backports openedx#31794 to Nutmeg.

Adds a new studio endpoint for the existing clone_course method, so that external applications can call it using the following API:

/api/v1/course_runs/clone/

And passing the source_course_id (of an existing course) and destination_course_id (of a non-existing course) in the request data, like below:

{
    "source_course_id": "course-v1:edX+DemoX+Demo_Course",
    "destination_course_id": "course-v1:new+TestX+Demo_Course_Clone",
}

See parent PR for testing instructions.

@Cup0fCoffee
Copy link
Member

👍

@pkulkark pkulkark merged commit 9d9e3eb into opencraft-release/nutmeg.2 Feb 23, 2023
@pkulkark pkulkark deleted the pooja/backport-clone-course-endpoint-to-nutmeg branch February 23, 2023 17:09
xitij2000 pushed a commit that referenced this pull request Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants