Skip to main content Skip to navigation

List all assignments for a module

List assignments for a module, optionally filtering by academic year.

Permission requirements

The user must have Permissions.Module.ManageAssignments ("Manage assignments") on the module. By default, roles that have this permission are:

  • Module Auditor
  • Module Assistant
  • Module Manager
  • Departmental Administrator
  • User Access Manager

Information about API permissions

Definition

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

URL substitution variables

:moduleCode The lowercase form of the module code to view assignments under, e.g. cs118

Request parameters

academicYear Optional The academic year to view assignments for, in the format yy/yy - e.g. 13/14

Example request

GET https://tabula.warwick.ac.uk/api/v1/module/cs118/assignments?academicYear=13%2f14

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"
academicYear The academic year in the format yy/yy - e.g. 13/14 or null if not filtered by academic year
assignments An array of assignment objects

Example response

{
  "success": true,
  "status": "ok",
  "academicYear": "13/14",
  "assignments": [
    {
      "id": "2552f556-6210-4de7-bb8e-01a3180f609e",
      "archived": false,
      "academicYear": "13/14",
      "name": "Coursework",
      "studentUrl": "https://tabula.warwick.ac.uk/coursework/module/es173/2552f556-6210-4de7-bb8e-01a3180f609e/",
      "collectMarks": true,
      "markingWorkflow": null,
      "feedbackTemplate": null,
      "summative": true,
      "dissertation": false,
      "collectSubmissions": true,
      "displayPlagiarismNotice": false,
      "restrictSubmissions": true,
      "allowLateSubmissions": true,
      "allowResubmission": true,
      "allowExtensions": true,
      "fileAttachmentLimit": 1,
      "fileAttachmentTypes": [],
      "submissionFormText": "Submit this",
      "wordCountMin": null,
      "wordCountMax": null,
      "wordCountConventions": "",
      "submissions": 1,
      "unapprovedExtensions": 0,
      "studentMembership": {
        "total": 8,
        "linkedSits": 0,
        "included": 8,
        "excluded": 0,
        "users": [
          {
            "userId":"xxxxxa",
            "universityId":"1111111"
          }
        ]
      },
      "sitsLinks": [],
      "openEnded": false,
      "opened": true,
      "closed": true,
      "openDate": "2013-11-05T00:00:00Z",
      "closeDate": "2014-01-27T10:00:00Z",
      "feedbackDeadline": "2014-02-24",
      "feedback": 1,
      "unpublishedFeedback": 1
    }
  ]
}

Tabula API Methods