API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · asset_ports

Asset Port

Schema-ID
asset_port
Collection
asset_ports
Permissions
  • Lezenasset_port_view
  • Aanmakenasset_port_create
  • Wijzigenasset_port_edit
  • Verwijderenasset_port_delete
Relaties

Velden

Asset Port

asset_ports4 permissions

Physical port instance on an asset. Can be linked via cables.

assetIduuidvereist→ asset

Asset this port belongs to

namestringvereist
1–100 tekens
labelstringoptioneel
max. 200 tekensnullable
categorystringvereist
interfaceconsolepower_inpower_outrear
portTypestringvereist

NetBox-style type (e.g. "1000base-t", "sfp+", "iec-60320-c14"). Validated against category on the frontend.

1–60 tekens
sidestringoptioneel
FRONTREARnull
Default: "FRONT"nullable
positionXnumberoptioneel
0 – 100nullable
positionYnumberoptioneel
0 – 100nullable
speedstringoptioneel
max. 40 tekensnullable
mgmtOnlybooleanoptioneel
nullable
poeModestringoptioneel
pdpsenull
nullable
poeTypestringoptioneel
max. 60 tekensnullable
macAddressstringoptioneel
Patternnullable
vlanModestringoptioneel
accesstrunktaggedhybridnull
nullable
maximumDrawWnumberoptioneel
≥ 0nullable
allocatedDrawWnumberoptioneel
≥ 0nullable
feedLegstringoptioneel
ABCnull
nullable
powerPortIduuidoptioneel

For power-out (PDU outlet): the asset_port (power-in) it is fed from

nullable
positionsnumberoptioneel
1 – 1024nullable
statusstringoptioneel
ACTIVEDISABLEDPLANNED
Default: "ACTIVE"
templatePortNamestringoptioneel

Matches the port name in the linked asset_template

max. 100 tekensnullable
notesstringoptioneel
max. 1000 tekensnullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/asset_ports — Lijst, gepagineerd + filterbaar
  • GET /api/v1/asset_ports/<id> — Enkele entity
  • POST /api/v1/asset_ports — Aanmaken
  • PATCH /api/v1/asset_ports/<id> — Gedeeltelijke update
  • DELETE /api/v1/asset_ports/<id> — Soft-delete
  • GET /api/v1/asset_ports/<id>/timeline — Audit + activiteiten

Zoeken