Prepare the outline
For example:Create the Course
Illustrative response
id.
Create a module
Illustrative response
Create the content placeholders
Illustrative response
Check the rebuilt curriculum
Illustrative response
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Build a Private Course with draft modules and video or quiz placeholders.
{
"name": "Drawing Essentials",
"defaultOfferPrice": 49,
"modules": [
{
"name": "Foundations",
"contents": [
{
"name": "Drawing basic shapes",
"variant": "videoLesson"
},
{
"name": "Check your understanding",
"variant": "quiz"
}
]
}
]
}
mutation {
createCourse(name: "Drawing Essentials", defaultOfferPrice: 49) {
id name status defaultOffer { id price }
}
}
{
"data": {
"createCourse": {
"id": "22222222-2222-4222-8222-222222222222",
"name": "Drawing Essentials",
"status": "private",
"defaultOffer": {
"id": "44444444-4444-4444-8444-444444444444",
"price": 49.0
}
}
}
}
id.
mutation {
createCourseModule(courseId: "22222222-2222-4222-8222-222222222222", name: "Foundations", status: draft) {
id name status index
}
}
{
"data": {
"createCourseModule": {
"id": "66666666-6666-4666-8666-666666666666",
"name": "Foundations",
"status": "draft",
"index": 0
}
}
}
mutation {
video: createCourseModuleContent(moduleId: "66666666-6666-4666-8666-666666666666", name: "Drawing basic shapes", variant: videoLesson, status: draft) {
id name status variant
}
quiz: createCourseModuleContent(moduleId: "66666666-6666-4666-8666-666666666666", name: "Check your understanding", variant: quiz, status: draft) {
id name status variant
}
}
{
"data": {
"video": {
"id": "77777777-7777-4777-8777-777777777777",
"name": "Drawing basic shapes",
"status": "draft",
"variant": "videoLesson"
},
"quiz": {
"id": "99999999-9999-4999-8999-999999999999",
"name": "Check your understanding",
"status": "draft",
"variant": "quiz"
}
}
}
{
courseById(courseId: "22222222-2222-4222-8222-222222222222") {
id name status
modules { id name index status contents { id name index status variant } }
}
}
{
"data": {
"courseById": {
"id": "22222222-2222-4222-8222-222222222222",
"name": "Drawing Essentials",
"status": "private",
"modules": [
{
"id": "66666666-6666-4666-8666-666666666666",
"name": "Foundations",
"index": 0,
"status": "draft",
"contents": [
{
"id": "77777777-7777-4777-8777-777777777777",
"name": "Drawing basic shapes",
"index": 0,
"status": "draft",
"variant": "videoLesson"
},
{
"id": "99999999-9999-4999-8999-999999999999",
"name": "Check your understanding",
"index": 1,
"status": "draft",
"variant": "quiz"
}
]
}
]
}
}
}
Was this page helpful?
