Module put

Source
Expand description

Task Edit Endpoint

This module provides the endpoint handler for editing the command of a specific assignment task within a module. It validates the existence and relationships of the module, assignment, and task, and updates the task’s command in the database. The endpoint returns detailed information about the updated task or appropriate error responses.

Structs§

EditTaskRequest
The request payload for editing a task’s command.

Functions§

edit_task
PUT /api/modules/{module_id}/assignments/{assignment_id}/tasks/{task_id}