Create following endpoints
Attributes:
Tabs - Same type as instructor tabs
ccx coach tabs:
- Enrollment
- Schedule
- Student Grades
- Grading Policy
When the courseId passed doesn't have a ccx course yet tabs response should be an empty array and ccx_course_id is an empty string
To create a new ccx course reuse logic from following endpoint
http://local.openedx.io:8000/courses/{ccxCourseId}/create_ccx
Notes: right now a csrfmiddlewaretoken is sent, can we just send the name from frontend?
And right now it is resolved as 302 we should change it
Create following endpoints
GET
Expected response:
{
course_id: string
ccx_course_id: string
tabs: array
}
Attributes:
Tabs - Same type as instructor tabs
ccx coach tabs:
- Enrollment
- Schedule
- Student Grades
- Grading Policy
When the courseId passed doesn't have a ccx course yet tabs response should be an empty array and ccx_course_id is an empty string
POST
Expected Payload:
To create a new ccx course reuse logic from following endpoint
http://local.openedx.io:8000/courses/{ccxCourseId}/create_ccx
Notes: right now a csrfmiddlewaretoken is sent, can we just send the name from frontend? And right now it is resolved as 302 we should change it