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§
- Subsection
Detail - Represents the details of a subsection within a task, including its name, mark value, and optional memo output.
- Task
Detail Response - 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