GET /api/dcim/cables/30/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 30,
    "url": "https://netbox.c3voc.de/api/dcim/cables/30/?format=api",
    "display": "#30",
    "type": "power",
    "a_terminations": [
        {
            "object_type": "dcim.poweroutlet",
            "object_id": 4,
            "object": {
                "id": 4,
                "url": "https://netbox.c3voc.de/api/dcim/power-outlets/4/?format=api",
                "display": "2",
                "device": {
                    "id": 10,
                    "url": "https://netbox.c3voc.de/api/dcim/devices/10/?format=api",
                    "display": "Main",
                    "name": "Main"
                },
                "name": "2",
                "cable": 30,
                "_occupied": true
            }
        }
    ],
    "b_terminations": [
        {
            "object_type": "dcim.powerport",
            "object_id": 5,
            "object": {
                "id": 5,
                "url": "https://netbox.c3voc.de/api/dcim/power-ports/5/?format=api",
                "display": "PSU1",
                "device": {
                    "id": 13,
                    "url": "https://netbox.c3voc.de/api/dcim/devices/13/?format=api",
                    "display": "akamai",
                    "name": "akamai"
                },
                "name": "PSU1",
                "cable": 30,
                "_occupied": true
            }
        }
    ],
    "status": {
        "value": "connected",
        "label": "Connected"
    },
    "tenant": null,
    "label": "",
    "color": "111111",
    "length": 1.0,
    "length_unit": {
        "value": "m",
        "label": "Meters"
    },
    "description": "",
    "comments": "",
    "tags": [],
    "custom_fields": {},
    "created": "2023-01-14T15:15:14.723859Z",
    "last_updated": "2023-01-14T15:22:20.057496Z"
}