Returns a list of available hosts
Changed onRequest
- Base URLhttps://quads.example.com/api/v3
- URLhttps://quads.example.com/api/v3/available/
- Authnone declared
Query parameters
Start date
End date
Cloud
Filter by host model
Filter by host type
Response
Hosts
Example response
[
{
"id": 12,
"name": "host.example.com",
"model": "r640",
"host_type": "vendor",
"build": true,
"validated": true,
"switch_config_applied": true,
"broken": true,
"retired": true,
"overcloud": true,
"rack": "A1",
"uloc": "U10",
"blade": "blade1",
"bootmode": "uefi",
"last_build": "2022-02-02",
"cloud_id": 12,
"default_cloud_id": 1,
"interfaces": [
{
"id": 12,
"name": "em1",
"bios_id": "nic1",
"mac_address": "aa:00:bb:11:cc:22",
"switch_ip": "10.1.1.18",
"switch_port": "xt-0-0/1",
"speed": 1000,
"vendor": "Intel",
"pxe_boot": true,
"host_id": 10
}
],
"disks": [
{
"disk_id": 1,
"disk_type": "nvme",
"size_gb": 2000,
"count": 10,
"host_id": 10
}
],
"memory": [
{
"id": 12,
"size_gb": 2000,
"handle": "MMD",
"host_id": 10
}
],
"processors": [
{
"id": 12,
"handle": "CoreI7",
"vendor": "Intel",
"product": "i7",
"cores": 20,
"threads": 20,
"processor_type": "x86",
"host_id": 10
}
]
}
]Changes
- info
added the new optional
queryrequest parameterhost_type - info
added the new optional
queryrequest parametermodel - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info
- warning
deleted the
queryrequest parameterhost_type - warning
deleted the
queryrequest parametermodel - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
///from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status
- warning