Cabling Catalogs#
Cabling catalogs: wire types (fiber, copper…) with their connectors, and carriers (telecom providers).Concepts#
Updating a wire type replaces its category and connectors.
Broken handlers: create and delete handlers still use Mongoose's callback API, removed in Mongoose 7. Every create crashes the API process; every delete fails with HTTP 500. Lists and updates work. See each endpoint.
Errors of updates are reported with HTTP 200 and an error body.
Endpoints#
Creates a wire type (crashes).PATCH /v1/infra/wire/{id}DELETE /v1/infra/wire/{id}Deletes a wire type (broken).Creates a carrier (crashes).DELETE /v1/infra/carrier/{id}Deletes a carrier (broken).Source#
Router: routes/v1/infra.js
Controller: controllers/infra.js
Sub-controllers: controllers/infra/infra-wires.js, infra-carriers.js
Modified at 2026-10-05 23:29:00