Entité · asset_ports
Asset Port
Champs
Asset Port
Physical port instance on an asset. Can be linked via cables.
assetId
Asset this port belongs to
name
1–100 caractères
label
max. 200 caractèresnullable
category
Valeurs
interfaceconsolepower_inpower_outrearportType
NetBox-style type (e.g. "1000base-t", "sfp+", "iec-60320-c14"). Validated against category on the frontend.
1–60 caractères
side
Valeurs
FRONTREARnullPar défaut : "FRONT"nullable
positionX
0 – 100nullable
positionY
0 – 100nullable
speed
max. 40 caractèresnullable
mgmtOnly
nullable
poeMode
Valeurs
pdpsenullnullable
poeType
max. 60 caractèresnullable
macAddress
Motifnullable
vlanMode
Valeurs
accesstrunktaggedhybridnullnullable
maximumDrawW
≥ 0nullable
allocatedDrawW
≥ 0nullable
feedLeg
Valeurs
ABCnullnullable
powerPortId
For power-out (PDU outlet): the asset_port (power-in) it is fed from
nullable
positions
1 – 1024nullable
status
Valeurs
ACTIVEDISABLEDPLANNEDPar défaut : "ACTIVE"
templatePortName
Matches the port name in the linked asset_template
max. 100 caractèresnullable
notes
max. 1000 caractèresnullable
Aucun champ ne correspond au filtre.
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/asset_ports— Liste, paginée et filtrableGET /api/v1/asset_ports/<id>— Une entitéPOST /api/v1/asset_ports— CréerPATCH /api/v1/asset_ports/<id>— Mise à jour partielleDELETE /api/v1/asset_ports/<id>— Suppression logiqueGET /api/v1/asset_ports/<id>/timeline— Audit et activités