reupload_course
Re-upload a cached course from JSON spec to a Frappe LMS instance. Migrate courses between instances by specifying the cache ID and target connection.
Instructions
Re-upload a cached course to a Frappe LMS instance. Uses the stored JSON spec to recreate the course on the specified (or active) connection. Useful for migrating courses between Frappe instances. Args: course_id: The cache ID of the course to re-upload. connection_name: Target connection name. Empty = active connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| connection_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |