Makes the course live by setting published_at. Pass an optional future published_at to schedule the publish; omit it (or leave it blank) to publish immediately. A published_at in the past is rejected.
By default this publishes only the course record. To publish a brand-new course in one step, pass publish_sections_and_lessons: true. Before the 200 OK response, the requested publish timestamp is set on the course, every eligible unpublished non-root section, and all unpublished or scheduled lessons underneath it. Drip and blocked section gates remain in effect. Section publish actions may still perform follow-up work asynchronously, and each records how many lessons it published in published_lessons_count. Otherwise sections and lessons stay draft until published via the Courses::Sections::PublishAction resource.
Returns 422 if published_at is supplied but is not a valid ISO 8601 datetime, or if it is in the past.
See Publishing in the Courses Skill for the publish paths.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||