Tasks

APIs

  • Add Task

  • Add Text Block To Task

  • Add Image Block To Task

  • Add Video Block To Task

  • Add Quiz Block To Task

  • Get Task By Id

  • List Tasks By SubMission Id

Examples

Add Task

mutation {
  addTask(
    task: {
      name: "A song of fire and ice"
      instructions: "Follow these instructions"
      points: 3
      pages: [
        {skippable: true},
        {skippable: true}
      ]
      requirements: [
        { description: "Do this thing" }
        { description: "Do this other thing" }
        { description: "Finally, do this last thing" }
      ]
      course: "Integrated Science"
      missionId: "mission id 1"
      missionIdex: 0
      subMissionId: "subMission id 1"
      objectiveId: "mission id 1"
      targetId: "target  id 1"
    }
  )
}

Add Text Block To Task

Add Image Block To Task

Add Video Block To Task

Add Quiz Block To Task

Get Task By Id

List Tasks By SubMission Id

List Tasks By Course

Last updated

Was this helpful?