Skip to main content
GET
/
v1
/
projects
/
{projectId}
/
disks
/
{id}
Get a disk
curl --request GET \
  --url https://rest.compute.cudo.org/v1/projects/{projectId}/disks/{id} \
  --header 'Authorization: <api-key>'
{
  "disk": {
    "createTime": "2023-11-07T05:31:56Z",
    "dataCenterId": "<string>",
    "diskState": "UNKNOWN",
    "diskType": "DISK_TYPE_UNKNOWN",
    "id": "<string>",
    "privateImageId": "<string>",
    "projectId": "<string>",
    "publicImageId": "<string>",
    "sizeGib": 123,
    "vmId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer HTTP authentication. Allowed headers-- Authorization: Bearer <api_key>

Path Parameters

projectId
string
required
id
string
required

Response

A successful response.

disk
object