Skip to content

Instantly share code, notes, and snippets.

@TuurDutoit
Created April 8, 2022 13:58
Show Gist options
  • Save TuurDutoit/ca48645ada8c49df0ca02fb9f8adc0d7 to your computer and use it in GitHub Desktop.
Save TuurDutoit/ca48645ada8c49df0ca02fb9f8adc0d7 to your computer and use it in GitHub Desktop.
campusCourse query
query {
previewCourse(courseHash: "0f3a9a064ca436a0a0c17d703af3e087") {
...campusCourse
}
}
fragment campusExerciseProgress on CampusExerciseProgress {
completed
xp
exerciseId
usedHint
usedSolution
lastAttempt
}
fragment campusDndQuestion on CampusDndQuestion {
flavor
solution {
id
title
maxOffset
draggableItems {
id
content
}
}
correctnessConditions {
isOrdered
failureMessage
successMessage
checks {
message
shouldBe
condition
}
}
}
fragment campusBaseExercise on CampusExercise {
id
number
type
title
assignment
instructions
sampleCode
sct
preExerciseCode
solution
hint
xp
possibleAnswers
feedbacks
question
dndQuestion {
...campusDndQuestion
}
videoLink
videoHls
aspectRatio
projectorKey
progress {
...campusExerciseProgress
}
suggestions {
text
occurrences
}
}
fragment campusExercise on CampusExercise {
...campusBaseExercise
subexercises {
...campusBaseExercise
}
}
fragment campusLesson on CampusLesson {
id
title
number
xp
progress {
completionRate
}
exercises {
...campusExercise
}
}
fragment campusChapter on CampusChapter {
id
title
description
number
paidOnMcow
paidInApp
slug
hasChapterLevelPractice
practiceWorkout {
isCompleted
poolId
chapterId
}
lessons {
...campusLesson
}
}
fragment technology on Technology {
id
key
name
description
}
fragment campusCourse on CampusCourse {
id
number
title
shortDescription
programmingLanguage
paidOnMcow
paidInApp
imageThumbnailUrl
progress {
completionRate
lastActiveAt
latestChapterNumber
}
state
slug
imageTag
practiceWorkout {
isCompleted
poolId
chapterId
}
technology {
...technology
}
xp
timeNeededInHours
instructors {
marketingBiography
biography
avatarUrl
fullName
}
runtimeConfig
chapters {
...campusChapter
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment