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

{
    "id": 31,
    "url": "https://netbox.c3voc.de/api/dcim/cables/31/?format=api",
    "display": "#31",
    "type": "power",
    "a_terminations": [
        {
            "object_type": "dcim.poweroutlet",
            "object_id": 5,
            "object": {
                "id": 5,
                "url": "https://netbox.c3voc.de/api/dcim/power-outlets/5/?format=api",
                "display": "3",
                "device": {
                    "id": 10,
                    "url": "https://netbox.c3voc.de/api/dcim/devices/10/?format=api",
                    "display": "Main",
                    "name": "Main"
                },
                "name": "3",
                "cable": 31,
                "_occupied": true
            }
        }
    ],
    "b_terminations": [
        {
            "object_type": "dcim.powerport",
            "object_id": 7,
            "object": {
                "id": 7,
                "url": "https://netbox.c3voc.de/api/dcim/power-ports/7/?format=api",
                "display": "PSU1",
                "device": {
                    "id": 14,
                    "url": "https://netbox.c3voc.de/api/dcim/devices/14/?format=api",
                    "display": "cloudflare",
                    "name": "cloudflare"
                },
                "name": "PSU1",
                "cable": 31,
                "_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:26.976999Z",
    "last_updated": "2023-01-14T15:22:20.074602Z"
}