GET /api/hosts/host61/interfaces
200
{
"total": 3,
"subtotal": 3,
"page": 1,
"per_page": 20,
"search": null,
"sort": {
"by": null,
"order": null
},
"results": [
{
"subnet_id": null,
"subnet_name": null,
"subnet6_id": null,
"subnet6_name": null,
"domain_id": null,
"domain_name": null,
"created_at": "2020-11-04 13:52:09 UTC",
"updated_at": "2020-11-04 13:52:09 UTC",
"managed": true,
"identifier": null,
"id": 69,
"name": "host61",
"ip": null,
"ip6": null,
"mac": null,
"mtu": null,
"fqdn": "host61",
"primary": true,
"provision": true,
"type": "interface",
"virtual": false
},
{
"subnet_id": null,
"subnet_name": null,
"subnet6_id": null,
"subnet6_name": null,
"domain_id": null,
"domain_name": null,
"created_at": "2020-11-04 13:52:09 UTC",
"updated_at": "2020-11-04 13:52:09 UTC",
"managed": true,
"identifier": "eth23",
"id": 70,
"name": null,
"ip": "0.0.0.29",
"ip6": null,
"mac": "00:33:45:ab:00:1d",
"mtu": null,
"fqdn": null,
"primary": false,
"provision": false,
"type": "interface",
"virtual": false
},
{
"subnet_id": null,
"subnet_name": null,
"subnet6_id": null,
"subnet6_name": null,
"domain_id": null,
"domain_name": null,
"created_at": "2020-11-04 13:52:09 UTC",
"updated_at": "2020-11-04 13:52:09 UTC",
"managed": true,
"identifier": "eth24",
"id": 71,
"name": null,
"ip": "0.0.0.30",
"ip6": null,
"mac": "00:33:45:ab:00:1e",
"mtu": null,
"fqdn": null,
"primary": false,
"provision": false,
"type": "bond",
"mode": "balance-rr",
"attached_devices": "",
"bond_options": "",
"virtual": true
}
]
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
host_id required |
ID or name of host Validations:
|
|
domain_id optional |
ID or name of domain Validations:
|
|
subnet_id optional |
ID or name of subnet Validations:
|
|
page optional |
Page number, starting at 1 Validations:
|
|
per_page optional |
Number of results per page to return, ‘all’ to return all results Validations:
|