Content Copy API specification - For supporting CurriculumCourse
Overview
Content Copy API supports two types of copy: 1. Deep Copy and 2. Shallow Copy
As per the current requirement Content has to be copied with same TOC but with different contentType.
For Supporting this, we are proposing below request structure to support content copy to different contentType.
Content Copy API
POST - content/v3/Copy/{content_id}
Request Body
{
"request": {
"copysheme":{
"target": "CurriculumCourse"
},
"content": {
"name": "Copy Textbook to CurriculumCourse",
"framework":"TPD",
"organisation":["Ekstep"],
"createdBy":"ABC",
"createdFor":["ABC"],
}
}
}
Response - Successful
Draft version of the content is created.
Response - Fail
Content not found.