Course is not published
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2021
09:12 AM
Hello!
I'm using API to create courses.
string command = "/api/v1/accounts/:account_id/courses";
string courseData = new { name=courseName, offer="true", start_at =startDate, ends_at=endDate};
after this call I add a teacher, and create migration to copy template into this course.
At the end course is 'Unpublished" IE students can not access it. According to documentation offer="true" should set course to "Published" state but it doesn't. Even if I update the course later
string command = "/api/v1/courses/:id";
var courseData = new { offer = "true" };
It is still doesn't become "Published"
Have something changed in the API? Is documentation incorrect?
What I need to do to set course to "Published"?
Thank yo very much!
Solved! Go to Solution.