Module get

Source
Expand description

Task Details Endpoint

This module provides the endpoint handler for retrieving detailed information about a specific assignment task within a module, including its subsections and associated memo outputs. It interacts with the database to validate module, assignment, and task existence, loads the mark allocator configuration, and parses memo output files to provide detailed feedback for each subsection of the task.

Structs§

SubsectionDetail
Represents the details of a subsection within a task, including its name, mark value, and optional memo output.
TaskDetailResponse
The response structure for detailed information about a task, including its subsections.

Functions§

get_task_details
GET /api/modules/{module_id}/assignments/{assignment_id}/tasks/{task_id}
list_tasks
GET /api/modules/{module_id}/assignments/{assignment_id}/tasks