Cables
Parameters
Index of the first item to return. Clamped to the collection length, so an offset past the end is an empty page rather than an error.
0 <= valueMaximum items to return. CLAMPED to 1000, not obeyed and not refused: a late-campaign save has thousands of hosts and serializing all of them would occupy the single tokio thread to produce a body nobody wants.
1 <= value <= 1000Code example
curl -X GET "https://example.com/api/v1/network/cables"Response example
{ "items": [ { "from_host": 0, "to_switch": 0, "kind": "string", "dac_class": "string", "color": "string", "duplex": true, "qsfp_end": 0, "length_m": 0, "id": 0, "a": null, "b": null, "lag_id": 0, "routed": true, "mode_pinned": true, "breakout_id": 0, "routed_via": [ 0 ], "path": [ { "Port": 0 } ], "route_slots": [ 0 ], "routed_points": [ [ 0.1 ] ], "is_draped": true, "is_failed": true, "routing_side_a": "string", "routing_side_b": "string", "dangling_end": "string" } ], "total": 0, "offset": 0, "count": 0}Response body
200One page of resultsWrapper for a paginated collection.
Every collection endpoint returns this. Unbounded collection responses are not an option: a late-campaign save has thousands of hosts, and serializing all of them would occupy the single tokio thread to produce a body nobody wants.