Skip to main content Skip to navigation

Retrieve a module

Returns a module object if a valid code was provided.

Permission requirements

The information is public, but the API must be called by an authenticated user.

Information about API permissions

Definition

GET https://tabula.warwick.ac.uk/api/v1/module/:moduleCode

URL substitution variables

:moduleCode The lowercase form of the module code, e.g. cs118

Example request

GET https://tabula.warwick.ac.uk/api/v1/module/cs118

Response parameters

An unsuccessful response will be returned in the standard format. A successful response will return the HTTP code 200 OK and the following parameters:

success Boolean true
status The string "ok"
module A module object representing the module

Example response

{
  "success": true,
  "status": "ok",
  "module": {
    "active": true,
    "adminDepartment": {
      "code": "CS",
      "name": "DCS"
    },
    "code": "CS118",
    "name": "Programming for Computer Scientists"
  }
}

Tabula API Methods