API · v1 · stable
CODEMETA OSDeveloper Center
FR
Ouvrir la console
Entité · cables

Cable

ID du schéma
cable
Collection
cables
Autorisations
  • Lirecable_view
  • Créercable_create
  • Modifiercable_edit
  • Supprimercable_delete

Champs

Cable

cables4 autorisations

Physical cable connecting two asset ports

aPortIduuidobligatoire
bPortIduuidobligatoire
mediaTypestringobligatoire
cat5ecat6cat6acat7cat8dac_1mdac_2mdac_3mdac_5mdac_7maoc_1maoc_3maoc_5maoc_10maoc_20mmmf_om3_lc_lcmmf_om4_lc_lcmmf_om5_lc_lcsmf_os2_lc_lcmpo_om4
lengthMnumberfacultatif
0 – 1000nullable
colorstringfacultatif

Free-text color (e.g. "green", "#18cc63") — used for BoM grouping

max. 40 caractèresnullable
labelNumberstringfacultatif

Physical label printed on the cable (e.g. "P-A24-07")

max. 60 caractèresnullable
statusstringfacultatif
PLANNEDINSTALLEDDECOMMISSIONED
Par défaut : "PLANNED"
pathstring[]facultatif

Ordered waypoint labels for cable routing (e.g. ["Tray-A", "Patch-panel-3"])

max. 128 élémentsnullable
installedAtdatetimefacultatif
nullable
notesstringfacultatif
max. 1000 caractèresnullable
tagsstring[]facultatif
max. 32 élémentsnullable

Endpoints standard

Cette ressource suit le contrat CRUD générique de la plateforme. Lisez les conventions pour la pagination, l'idempotence, le verrouillage optimiste et l'audit. Les endpoints principaux :

  • GET /api/v1/cables — Liste, paginée et filtrable
  • GET /api/v1/cables/<id> — Une entité
  • POST /api/v1/cables — Créer
  • PATCH /api/v1/cables/<id> — Mise à jour partielle
  • DELETE /api/v1/cables/<id> — Suppression logique
  • GET /api/v1/cables/<id>/timeline — Audit et activités

Recherche