Volumes

Get a volume by ID or name

GET
/deployments/storage/volumes/{id}

Retrieve details of a specific volume by its ID or name

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Volume ID or name

Query Parameters

version?integer

Volume version to describe (defaults to current version)

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/deployments/storage/volumes/string"
{  "content": {    "files": [      {        "last_modified": "string",        "name": "string",        "size": 0      }    ],    "origin": {      "s3": {        "role_arn": "string",        "uri": "string"      }    },    "source_prefix": "string",    "type": "files"  },  "created_at": "string",  "current_version": 0,  "id": "string",  "mounted_by": [    "string"  ],  "name": "string",  "object": "string",  "status": "ready",  "status_message": "string",  "type": "readOnly",  "updated_at": "string",  "version_history": {    "property1": {      "content": {        "origin": {          "s3": {            "role_arn": "string",            "uri": "string"          }        },        "source_prefix": "string",        "type": "files"      },      "mounted_by": [        "string"      ],      "status": "ready",      "status_message": "string",      "version": 0    },    "property2": {      "content": {        "origin": {          "s3": {            "role_arn": "string",            "uri": "string"          }        },        "source_prefix": "string",        "type": "files"      },      "mounted_by": [        "string"      ],      "status": "ready",      "status_message": "string",      "version": 0    }  }}