Skip to content

GET students list

rttsai edited this page Nov 27, 2016 · 2 revisions

GET students/list

Returns an array of all students.

Example Response

[
  {
    "id": "582f7c1c1489e46faecd12db",
    "name": "Harry Potter",
    "classes": [
      {
        "id": "582f7c5a2dbc87700d3779de",
        "name": "Potions"
      },
      {
        "id": "582f7e45d35339723018e6d2",
        "name": "Defense Against Dark Arts"
      }
    ]
  },
  {
    "id": "582f7c1c1489e46faecd12dc",
    "name": "Hermione Grander",
    "classes": [
      {
        "id": "582f7c5a2dbc87700d3779de",
        "name": "Potions"
      },
      {
        "id": "582f81e048de86761a7fb67b",
        "name": "Advanced Potions"
      },
      {
        "id": "582f7e45d35339723018e6d2",
        "name": "Defense Against Dark Arts"
      }
    ]
  },
  {
    "id": "582f7c1c1489e46faecd12dd",
    "name": "Ron Weasley",
    "classes": [
      {
        "id": "582f7c5a2dbc87700d3779de",
        "name": "Potions"
      },
      {
        "id": "582f7e45d35339723018e6d2",
        "name": "Defense Against Dark Arts"
      }
    ]
  }
]