GET /api/dcim/console-server-ports/?format=api
HTTP 200 OK
Allow: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, TRACE
Content-Type: application/json
Vary: Accept

{
    "count": 1,
    "next": null,
    "previous": null,
    "results": [
        {
            "id": 1,
            "url": "https://netbox.c3voc.de/api/dcim/console-server-ports/1/?format=api",
            "display": "ttyS0",
            "device": {
                "id": 6,
                "url": "https://netbox.c3voc.de/api/dcim/devices/6/?format=api",
                "display": "storage",
                "name": "storage"
            },
            "module": null,
            "name": "ttyS0",
            "label": "",
            "type": {
                "value": "de-9",
                "label": "DE-9"
            },
            "speed": null,
            "description": "",
            "mark_connected": false,
            "cable": {
                "id": 42,
                "url": "https://netbox.c3voc.de/api/dcim/cables/42/?format=api",
                "display": "#42",
                "label": ""
            },
            "cable_end": "A",
            "link_peers": [
                {
                    "id": 2,
                    "url": "https://netbox.c3voc.de/api/dcim/console-ports/2/?format=api",
                    "display": "CON",
                    "device": {
                        "id": 1,
                        "url": "https://netbox.c3voc.de/api/dcim/devices/1/?format=api",
                        "display": "swt-colo-1",
                        "name": "swt-colo-1"
                    },
                    "name": "CON",
                    "cable": 42,
                    "_occupied": true
                }
            ],
            "link_peers_type": "dcim.consoleport",
            "connected_endpoints": [
                {
                    "id": 2,
                    "url": "https://netbox.c3voc.de/api/dcim/console-ports/2/?format=api",
                    "display": "CON",
                    "device": {
                        "id": 1,
                        "url": "https://netbox.c3voc.de/api/dcim/devices/1/?format=api",
                        "display": "swt-colo-1",
                        "name": "swt-colo-1"
                    },
                    "name": "CON",
                    "cable": 42,
                    "_occupied": true
                }
            ],
            "connected_endpoints_type": "dcim.consoleport",
            "connected_endpoints_reachable": true,
            "tags": [],
            "custom_fields": {},
            "created": "2023-01-14T15:25:12.526016Z",
            "last_updated": "2023-01-14T15:25:12.526032Z",
            "_occupied": true
        }
    ]
}