Skip to main content
GET
/
api
/
v2
/
filestorage
List file storage
curl --request GET \
  --url https://api.example.com/api/v2/filestorage \
  --header 'Authorization: Bearer <token>'
[
  {
    "metadata": {
      "id": "a64f9269-36e0-4312-b8d1-52d93d569b7b",
      "name": "storage-name",
      "organizationId": "9a8c6370-4065-4d4a-9da0-7678df40cd9d",
      "projectId": "e36c058a-8eba-4f5b-91f4-f6ffb983795c",
      "creationTime": "2024-05-31T14:11:00Z",
      "createdBy": "[email protected]",
      "provisioningStatus": "provisioned",
      "healthStatus": "healthy",
      "tags": [
        {
          "name": "tag-name",
          "value": "tag-value"
        }
      ]
    },
    "spec": {
      "size": "200",
      "storageType": {
        "nfs": {
          "rootsquash": true
        }
      },
      "attachements": {
        "networkIds": [
          "903b5fba-8eb0-4016-a854-b8f716bcd9bb"
        ]
      }
    },
    "status": {
      "regionId": "ba39bff5-b0d8-4c60-89e5-ed1104356b4a",
      "storageClassId": "99659b44-1700-400f-9c6c-cfdb4bb0445c",
      "usage": {
        "capacity": "100Ti",
        "used": "88Ti",
        "free": "12Ti"
      },
      "attachements": {
        "networkIds": [
          "903b5fba-8eb0-4016-a854-b8f716bcd9bb"
        ],
        "provisioningStatus": "provisioned"
      }
    }
  }
]

Authorizations

Authorization
string
header
required

Operation requires OAuth 2.0 bearer token authentication.

Query Parameters

tag
string[]

A set of tags to match against resources in the form "name=value", thus when encoded you get "?tag=foo%3Dcat&tag=bar%3Ddog".

organizationID
string[]

Allows resources to be filtered by organization.

projectID
string[]

Allows resources to be filtered by project.

regionID
string[]

Allows resources to be filtered by region.

Response

A list of storages.

metadata
object
required

Metadata required by project scoped resource reads.

spec
object
required

A storage's specification.

status
object
required

Read only status about storage