flipted-backend
  • Intruction
  • How To Guide
    • Getting Started
    • Use flipted CLI
  • Best Practice
    • Avoid using any type
    • Coding styles
  • Design
    • Data Schema
    • User Authentication
    • Mission - Learning Target Progress Class Diagram
  • API Documentation
    • Class Mission Mastery
    • Class Target Mastery
    • Courses
    • Goals
    • Missions
    • Objectives
    • Questions
    • Quiz Blocks
    • Class Roster
    • SubMissions
    • Targets
    • Tasks
    • Task Submissions
    • Users
    • User Progress
  • Support
    • Defect Reporting
Powered by GitBook
On this page
  • APIs
  • Examples
  • Add Objective
  • Get Objective By Course and Objective Id
  • List Objectives By Course

Was this helpful?

  1. API Documentation

Objectives

APIs

  • Add Objective

  • Get Objective By Objective Id

  • List Objectives By Course

Examples

Add Objective

mutation {
  addObjective(
    objective: {
      objectiveName: "TE 1"
      description: "Develop a model that predicts and describes changes in particle motion, temperature, and state of a pure substance when thermal energy is added or removed."
      targetId: "target Id"
      targetName: "TE",
      course: "Integrated Science",
      taskIds: ["462f0f1ac94", "5cf57356c1b"]
    }
  )
}

Get Objective By Course and Objective Id

query {
  objective(objectiveId: "8fc4fc68c84") {
    objectiveId
    objectiveName
    description
    targetId
    targetName
    course
  }
}

List Objectives By Course

query {
  objectives(course: "Integrated Science") {
    objectiveId
    objectiveName
    description
    targetId
    targetName
    course
    tasks {
       id
       name
    }
  }
}
PreviousMissionsNextQuestions

Last updated 4 years ago

Was this helpful?