Move course in collection
move_course_in_collectionMoves a course one position earlier (-1) or later (1) in a collection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The collection id, as returned by list_collections or create_collection. | |
| courseId | Yes | Id of a course that is already in this collection. | |
| direction | Yes | -1 moves the course one position earlier in the collection; 1 moves it one position later. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courseId | Yes | The course that was added or moved. | |
| collectionId | Yes | The collection the course is in. |