API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · asset_ports

Asset Port

Schema ID
asset_port
Collection
asset_ports
Permissions
  • Readasset_port_view
  • Createasset_port_create
  • Editasset_port_edit
  • Deleteasset_port_delete
Relationships

Fields

Asset Port

asset_ports4 permissions

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

assetIduuidrequired→ asset

Asset this port belongs to

namestringrequired
1–100 characters
labelstringoptional
max 200 charactersnullable
categorystringrequired
interfaceconsolepower_inpower_outrear
portTypestringrequired

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

1–60 characters
sidestringoptional
FRONTREARnull
Default: "FRONT"nullable
positionXnumberoptional
0 – 100nullable
positionYnumberoptional
0 – 100nullable
speedstringoptional
max 40 charactersnullable
mgmtOnlybooleanoptional
nullable
poeModestringoptional
pdpsenull
nullable
poeTypestringoptional
max 60 charactersnullable
macAddressstringoptional
Patternnullable
vlanModestringoptional
accesstrunktaggedhybridnull
nullable
maximumDrawWnumberoptional
≥ 0nullable
allocatedDrawWnumberoptional
≥ 0nullable
feedLegstringoptional
ABCnull
nullable
powerPortIduuidoptional

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

nullable
positionsnumberoptional
1 – 1024nullable
statusstringoptional
ACTIVEDISABLEDPLANNED
Default: "ACTIVE"
templatePortNamestringoptional

Matches the port name in the linked asset_template

max 100 charactersnullable
notesstringoptional
max 1000 charactersnullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/asset_ports — List, paginated + filterable
  • GET /api/v1/asset_ports/<id> — Single entity
  • POST /api/v1/asset_ports — Create
  • PATCH /api/v1/asset_ports/<id> — Partial update
  • DELETE /api/v1/asset_ports/<id> — Soft delete
  • GET /api/v1/asset_ports/<id>/timeline — Audit + activities

Search