Skip to content

POST quests new

Ray Tsai edited this page Dec 13, 2016 · 1 revision

POST classes/new

Creates a new quest.

Body Parameters

Name Required Description Default Value Example
teacher required The identifier of the teacher who created the quest. 582a1c125789252c48ada271

Example Request

{
  "teacher": "582a1c125789252c48ada271"
}

Example Response

{
  "teacher": {
    "id": "582a1c125789252c48ada271",
    "name": "Severus Snape"
  },
  "id": "5850572b933e66251008dc90",
  "assignments": []
}