refactor(api): rename /filaments/ to /filament-catalog/ for clarity (#427)

The /filaments/ endpoint manages material type definitions (cost, temps,
density) but shares its name with the UI's "Filament" page which shows
the spool inventory (/inventory/spools/). This caused users to expect
the API to return their spool inventory.

Rename to /filament-catalog/ to make the distinction clear. No frontend
behavior change — these API methods are defined but unused in the UI.
This commit is contained in:
maziggy
2026-02-18 11:58:17 +01:00
parent 713a3e931a
commit 2fd90e9dce
7 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ from backend.app.schemas.filament import (
FilamentUpdate,
)
router = APIRouter(prefix="/filaments", tags=["filaments"])
router = APIRouter(prefix="/filament-catalog", tags=["filament-catalog"])
@router.get("/", response_model=list[FilamentResponse])