Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Latest commit

 

History

History
59 lines (51 loc) · 1.02 KB

show.md

File metadata and controls

59 lines (51 loc) · 1.02 KB

GET exams/:id

Returns a specific exam identified by the :id parameter.

URL

https://cobalt.qas.im/api/1.0/exams/:id

Parameters

key (required) Your unique API key. If you do not provide this, you must set the Authorization header to your API key instead.


:id (required) The unique identifier for the exam.

Example

https://cobalt.qas.im/api/1.0/exams/CSC148H1F20159DEC15
{
  "id":"CSC148H1F20159DEC15",
  "course_id":"CSC148H1F20159",
  "course_code":"CSC148H1F",
  "campus":"UTSG",
  "period":"DEC15",
  "date":"2015-12-15",
  "start_time":32400,
  "end_time":43200,
  "duration":10800,
  "sections":[
    {
      "lecture_code":"",
      "exam_section":"A - K",
      "location":"BR 200"
    },
    {
      "lecture_code":"",
      "exam_section":"L - Q",
      "location":"EM 119"
    },
    {
      "lecture_code":"",
      "exam_section":"R - Y",
      "location":"TC 239"
    },
    {
      "lecture_code":"",
      "exam_section":"Z - Z",
      "location":"WY 119"
    }
  ]
}