GET
/
projects
/
{id}
/
disks
curl --request GET \
  --url https://api.mkinf.io/v0.1/projects/{id}/disks \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "attached_to": [
        {
          "attachment_type": "string",
          "mode": "string",
          "vm_id": "123e4567-e89b-12d3-a456-426614174000"
        }
      ],
      "block_size": 4096,
      "created_at": "2021-12-03T19:58:34Z",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "location": "us-northcentral1-a",
      "name": "my-disk",
      "serial_number": "96FD14FDBCF7E21E8EC",
      "size": "10GiB",
      "type": "persistent-ssd",
      "updated_at": "2021-12-03T19:58:34Z"
    }
  ]
}

List all disks in a project. Returns information about each disk including size, type, and attachment status.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Project id

Response

200 - application/json

The response is of type object.