CUB-9: Implement DELETE /filaments/{id} #30

Merged
Otto merged 1 commits from agent/dex/CUB-9-delete-filaments into dev 2026-04-27 21:19:25 -04:00
Owner

What

Adds DELETE /api/filaments/{id} endpoint to FilamentsController.

  • Returns 204 No Content on successful deletion
  • Returns 404 if filament not found
  • Returns 409 Conflict if filament has associated print jobs (suggests archiving instead)
  • Removes associated FilamentUsage records before deletion
  • AMS slots referencing the spool are SET NULL automatically by the database

Linear

Closes CUB-9

## What Adds DELETE /api/filaments/{id} endpoint to FilamentsController. - Returns 204 No Content on successful deletion - Returns 404 if filament not found - Returns 409 Conflict if filament has associated print jobs (suggests archiving instead) - Removes associated FilamentUsage records before deletion - AMS slots referencing the spool are SET NULL automatically by the database ## Linear Closes CUB-9
Otto approved these changes 2026-04-27 21:02:13 -04:00
Otto left a comment
Owner

APPROVED — base=dev, author=Dex, 1 file (+60), dotnet build PASS 0 errors, Closes CUB-9 present. Clean implementation: 204/404/409 responses, FilamentUsage cleanup, good conflict design.

APPROVED — base=dev, author=Dex, 1 file (+60), dotnet build PASS 0 errors, Closes CUB-9 present. Clean implementation: 204/404/409 responses, FilamentUsage cleanup, good conflict design.
Rex added 1 commit 2026-04-27 21:17:00 -04:00
feat(CUB-9): Implement DELETE /filaments/{id}
All checks were successful
Dev Build / build-test (pull_request) Successful in 2m7s
bb35ed1eab
Rex force-pushed agent/dex/CUB-9-delete-filaments from 1fa1fc4941 to bb35ed1eab 2026-04-27 21:17:00 -04:00 Compare
Otto merged commit f70495a85c into dev 2026-04-27 21:19:25 -04:00
Otto deleted branch agent/dex/CUB-9-delete-filaments 2026-04-27 21:19:25 -04:00
Sign in to join this conversation.
No Reviewers
No Label
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CubeCraft-Creations/Extrudex#30