Authorizations
Path Parameters
The volume storage ID
Response
200 - application/vnd.api+json
Success
package main
import(
"context"
"os"
latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk"
"log"
)
func main() {
ctx := context.Background()
s := latitudeshgosdk.New(
latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")),
)
res, err := s.Storage.GetStorageVolume(ctx, "vol_aKXgRdR3qv9k5")
if err != nil {
log.Fatal(err)
}
if res.Object != nil {
// handle response
}
}
{
"data": {
"id": "vol_aKXgRdR3qv9k5",
"type": "volumes",
"attributes": {
"name": "Ergonomic Concrete Shoes",
"size_in_gb": 1500,
"created_at": "2025-10-03T17:09:38.006Z",
"namespace_id": null,
"connector_id": "nqn.2001-07.com.ceph:1757602476548",
"initiators": [
{
"nqn": "nqn.2014-08.org.nvmexpress:uuid:ae717767-c0fa-56f7-ab4b-5c426b0c553f"
}
],
"project": {
"id": "proj_Z8rodmkAD1jLB",
"name": "Practical Copper Bag",
"slug": "practical-copper-bag",
"description": "Aerodynamic Rubber Car",
"billing_type": "Normal",
"billing_method": "Normal",
"bandwidth_alert": false,
"environment": null,
"billing": {
"subscription_id": null,
"type": "Normal",
"method": "Normal"
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 1,
"virtual_machines": 0,
"vlans": 0
}
},
"team": {
"id": "team_4zo3v0EbRvUKMXX1gKR2TkmXVPA",
"name": "592 Team",
"slug": "592-team",
"description": "592 Team",
"address": "58253 Schuppe Ports, Heathcoteborough, ND 34198-0887",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
}
Shows details of a specific volume storage.
package main
import(
"context"
"os"
latitudeshgosdk "github.com/latitudesh/latitudesh-go-sdk"
"log"
)
func main() {
ctx := context.Background()
s := latitudeshgosdk.New(
latitudeshgosdk.WithSecurity(os.Getenv("LATITUDESH_BEARER")),
)
res, err := s.Storage.GetStorageVolume(ctx, "vol_aKXgRdR3qv9k5")
if err != nil {
log.Fatal(err)
}
if res.Object != nil {
// handle response
}
}
{
"data": {
"id": "vol_aKXgRdR3qv9k5",
"type": "volumes",
"attributes": {
"name": "Ergonomic Concrete Shoes",
"size_in_gb": 1500,
"created_at": "2025-10-03T17:09:38.006Z",
"namespace_id": null,
"connector_id": "nqn.2001-07.com.ceph:1757602476548",
"initiators": [
{
"nqn": "nqn.2014-08.org.nvmexpress:uuid:ae717767-c0fa-56f7-ab4b-5c426b0c553f"
}
],
"project": {
"id": "proj_Z8rodmkAD1jLB",
"name": "Practical Copper Bag",
"slug": "practical-copper-bag",
"description": "Aerodynamic Rubber Car",
"billing_type": "Normal",
"billing_method": "Normal",
"bandwidth_alert": false,
"environment": null,
"billing": {
"subscription_id": null,
"type": "Normal",
"method": "Normal"
},
"stats": {
"databases": 0,
"ip_addresses": 0,
"prefixes": 0,
"servers": 0,
"storages": 1,
"virtual_machines": 0,
"vlans": 0
}
},
"team": {
"id": "team_4zo3v0EbRvUKMXX1gKR2TkmXVPA",
"name": "592 Team",
"slug": "592-team",
"description": "592 Team",
"address": "58253 Schuppe Ports, Heathcoteborough, ND 34198-0887",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
}
The volume storage ID
Success
Show child attributes
Was this page helpful?