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 Free Response Question
  • Add Multiple Choice Question

Was this helpful?

  1. API Documentation

Questions

APIs

  • Add Free Response Question

  • Add Multiple Choice Question

Examples

Add Free Response Question

mutation {
  addFrQuestion(
    question: {
      points: 2
      description: "A disturbance that transfers energy from place to place"
      answer: "Wave"
    }
  )
}

Add Multiple Choice Question

mutation {
  addMcQuestion(
    question: {
      points: 2
      description: "Ginger is a stem and not a root because"
      options: [
        "It lacks chlorophyll"
        "It stores food material"
        "It has notes and internodes"
        "It grows horizontally in the soil"
      ]
      answers: [3]
    }
  )
}
PreviousObjectivesNextQuiz Blocks

Last updated 4 years ago

Was this helpful?