Skip to content

GET teachers list

rttsai edited this page Nov 27, 2016 · 1 revision

GET teachers/list

Returns an array of all teachers.

Example Response

[
  {
    "id": "582a1c125789252c48ada271",
    "name": "Severus Snape",
    "classes": [
      {
        "id": "582f7c5a2dbc87700d3779de",
        "name": "Potions"
      },
      {
        "id": "582f81e048de86761a7fb67b",
        "name": "Advanced Potions"
      }
    ]
  },
  {
    "id": "582f7e45d35339723018e6d1",
    "name": "Remus Lupin",
    "classes": [
      {
        "id": "582f7e45d35339723018e6d2",
        "name": "Defense Against Dark Arts"
      }
    ]
  }
]