Complete a worklist task
Worklist
Complete a worklist task
Sets status to completed with completed_at = now and computes actual_time_minutes if started_at is set. Side effect: for maintenance tasks, clears printer maintenance state and updates last_maintenance_date. For filament_change tasks, updates the printer’s filament fields from the task’s metadata (color, hex, type, grams).
POST
Complete a worklist task
Authorizations
API keys are minted in the AutoPrintFarm web app under Settings → API Keys. Send as Authorization: Bearer apf_live_.... Keys are shown exactly once at creation and can be revoked at any time.