Skip to main content
GET
/
v1
/
projects
/
{id}
/
disks
Get disks
curl --request GET \
  --url https://api.iran.liara.ir/v1/projects/{id}/disks \
  --header 'Authorization: <api-key>'
{
  "disks": [
    {
      "_id": "<string>",
      "name": "<string>",
      "size": 123,
      "updatedAt": "<string>",
      "createdAt": "<string>"
    }
  ],
  "mounts": [
    {
      "name": "<string>",
      "mountedTo": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter the token with the Bearer: prefix, e.g. "Bearer abcde12345". #

Path Parameters

id
string
required

The id of your app

Response

Successful operation

disks
object[]
mounts
object[]