API Documentation - HilariousAtlantic/mu-scheduler GitHub Wiki

API Documenation

GET /semesters

[
  {
    "id": 0,
    "season": "spring",
    "year": 2017,
    "name": "Spring 2017"
  },
  .
  .
  .
]

GET /courses

[
  {
    “id”: 0,
    "semester_id": 0,
    “subject: “CSE”
    “number”: 201,
    “name”: “Intro to Software Engineering”
    "credits": "3",
  },
  .
  .
  .
]

GET /courses/course_id


{
  “id”: 0,
  "semester_id": 0,
  “subject: “CSE”,
  “number”: 201,
  “name”: “Intro to Software Engineering”
  "credits": "3",
  “sections”: [
    {
      “id”: 323423,
      “course_id: “0”,
      “section”: “A”,
      “meets”: [
        {
          “days”: “MWF”,
          “start_time”: "14:00",
          “end_time”: "15:50",
          “instructor”: “Ann Sobel”,
          “location”: “BEN 009”,
          "start_date: "2016-08-29",
          "end_date": "2016-12-15"
        },
        .
        .
        .
      ]
    },
    .
    .
    .
  ]
}

GET /schedules


[
  {
    “id”: 323423,
    “course_id”: 0,
    "semester_id": 0,
    “subject: “CSE”
    “number”: 201,
    “name”: “Intro to Software Engineering”
    "credits": "3",
    “section”: “A”,
    “meets”: [
      {
        “days”: “MWF”,
          “start_time”: "14:00",
          “end_time”: "15:50",
          “instructor”: “Ann Sobel”,
          “location”: “BEN 009”,
          "start_date: "2016-08-29",
          "end_date": "2016-12-15"
      },
      .
      .
      .
    ]
  },
  .
  .
  .
]

GET /grades


[
  {
    “id”: 323423,
    “gpa”: 3.78,
    "instructor": "Ann Sobel :(,
    “season: “Fall”,
    “year”: 2016,
    “subject”: “CSE”,
    "number": "201",
   },
  .
  .
  .
]