v1

latestOpenAPI 3.1.02026-07-2426068.5 KB

Get Host Create Options

get/hosts-create-options/{host_id}

Path parameters

host_idstring required

The unique host ID

Response

200

hostIDinteger
availableboolean
bandwidthCostinteger

Example response

{
  "hostID": 4,
  "image": [
    {
      "id": 1,
      "name": "Ubuntu",
      "type": "image",
      "minDiskSize": 20,
      "version": {
        "id": "10000",
        "description": "Ubuntu 18.04 LTS"
      },
      "versions": [
        {
          "id": "10000",
          "description": "Ubuntu 18.04 LTS"
        }
      ]
    }
  ],
  "region": [
    {
      "name": "Amsterdam",
      "iso": "nl",
      "subregion": {
        "id": "ams1",
        "description": "1",
        "slug": "ams1",
        "unavailableSizes": [
          "nibble-2048"
        ]
      }
    }
  ],
  "size": [
    {
      "id": "nibble-1024",
      "slug": "Nibble-1024",
      "bandwidthGB": 1000,
      "cpuCount": 1,
      "diskGB": 25,
      "disks": [
        {
          "type": "SSD",
          "count": 1,
          "size": "25",
          "unit": "GB"
        }
      ],
      "memoryMB": 1024,
      "costPerHr": 14,
      "costPerMonth": 10,
      "planType": "standard"
    }
  ],
  "available": true,
  "bandwidthCost": 10,
  "planTypes": [
    {
      "type": "standard",
      "description": "Fast SSD KVM virtual machines with a mix of compute resources and dedicated memory for a variety of applications.",
      "name": "Standard"
    }
  ],
  "hostOptions": {
    "rebuild": true,
    "resize": true
  }
}