Update course
update_coursePartially updates a course by id. Every field besides id is optional — send only what changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The course id, as returned by list_courses or create_course. | |
| title | No | New course title. Omit to leave it unchanged. | |
| status | No | 'published' makes the course live to learners; 'draft' takes it out of circulation. Omit to leave it unchanged. | |
| screens | No | Replaces the whole screens array; it is not merged screen by screen. To change one screen, prefer update_screen. Omit to leave screens unchanged. | |
| themeId | No | Id of a theme in this workspace to assign; null removes the theme. Omit to leave it unchanged. | |
| direction | No | Reading direction of the course: 'ltr' or 'rtl'. Omit to leave it unchanged. | |
| navigation | No | 'default' shows the player's Back/Continue row; 'hidden' removes it (and swipe) so button blocks move the learner on. Omit to leave it unchanged. | |
| passingScore | No | Percentage (0-100) of graded blocks a learner must answer correctly to pass; null means any completion counts. Omit to leave it unchanged. | |
| quizFeedback | No | When learners see whether an answer was right: 'deferred' (at the end) or 'immediate' (as they answer). Omit to leave it unchanged. | |
| certificateId | No | Id of a certificate template in this workspace; null goes back to the built-in default design. Omit to leave it unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | Yes | ||
| status | Yes | ||
| screens | Yes | ||
| themeId | Yes | ||
| createdAt | Yes | ||
| direction | Yes | ||
| updatedAt | Yes | ||
| navigation | Yes | ||
| sourceKind | Yes | ||
| contentHash | Yes | ||
| customFonts | Yes | ||
| workspaceId | Yes | ||
| passingScore | Yes | ||
| quizFeedback | Yes | ||
| certificateId | Yes |