Disks

Create a host disk definition

Changed on
post/disks/{hostName}

Request

  • Base URL
    https://quads.example.com/api/v3
  • URL
    https://quads.example.com/api/v3/disks/{hostName}
  • Auth
    HTTP bearer

Path parameters

hostNamestring required

Host name

Request body

disk_typestring required
size_gbinteger required
countinteger required

Example request

{
  "disk_type": "nvme",
  "size_gb": 2000,
  "count": 10
}

Response

Disk details

disk_idinteger
disk_typestring
size_gbinteger
countinteger
host_idinteger

Example response

{
  "disk_id": 1,
  "disk_type": "nvme",
  "size_gb": 2000,
  "count": 10,
  "host_id": 10
}

Changes

    • breaking

      removed the success response with the status

    • info

      added the success response with the status

    • breaking

      removed the success response with the status

    • info

      added the success response with the status