Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat[nutmeg]: add new endpoint for cloning course [BB-7106] #520

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 21, 2023
xitij2000 pushed a commit that referenced this pull request Jun 23, 2023
xitij2000 pushed a commit that referenced this pull request Jun 23, 2023
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
2 participants