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§
- Edit
Task Request - The request payload for editing a task’s command.
Functions§
- edit_
task - PUT /api/modules/{module_id}/assignments/{assignment_id}/tasks/{task_id}