Leap0

Read mount metadata

Returns object storage mount statuses for the current sandbox. Send `Accept: application/json` to receive JSON. Without that header, the metadata service responds in IMDS format.

GET/latest/meta-data/leap0/mounts

Returns object storage mount statuses for the current sandbox. Send Accept: application/json to receive JSON. Without that header, the metadata service responds in IMDS format.

Header Parameters

X-metadata-token*string

IMDSv2 session token returned by PUT /latest/api/token.

Accept?string

Use application/json for JSON output. Without it, the metadata service returns IMDS format.

Value in"application/json" | "text/plain"

Response Body

curl -X GET "http://169.254.169.254/latest/meta-data/leap0/mounts" \  -H "X-metadata-token: string"
[  {    "id": "mnt-abc123",    "type": "object-storage",    "bucket": "project-assets",    "mount_path": "/data/assets",    "status": "pending",    "status_reason": "string",    "read_only": false  }]
Empty
Empty