Targets

APIs

  • Add Target

  • Get Target By Target Id

  • List Targets By Course

Examples

Add Target

mutation AddTarget {
  addTarget(
    target: {
      targetName: "TE"
      description: " Target 1 Description"
      subject: "Science"
      gradeLevel: 6
      icon: ""
      standards: ""
      course: "Integrated Science"
    }
  )
}

Get Target

query GetTarget {
  target(targetId: "eaf7ce60c44") {
    targetId
    targetName
    description
    subject
    gradeLevel
    icon
    standards
    course
  }
}

List Targets By Course

query ListTargetsByCourse {
  targets(course: "Integrated Science") {
    targetId
    targetName
    description
    subject
    gradeLevel
    icon
    standards
    course
  }
}

Last updated

Was this helpful?