Authorizations
Query Parameters
The project ID or Slug to filter by
Response
200 - application/vnd.api+json
Success
The response is of type file.
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.ListFilesystems(ctx, latitudeshgosdk.Pointer("sleek-silk-car"))
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}{
"data": [
{
"id": "fs_6059EqYkOQj8p",
"type": "filesystems",
"attributes": {
"name": "Ergonomic Marble Lamp",
"size_in_gb": 1500,
"created_at": "2025-07-16T18:37:10.232Z",
"project": {
"id": "proj_kjQwdEa7dYNVP",
"name": "Gorgeous Cotton Bag",
"slug": "gorgeous-cotton-bag",
"description": "Heavy Duty Aluminum Pants",
"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_MwVvW6pBAZi97oexYpljUWPNkje",
"name": "561 Team",
"slug": "561-team",
"description": "561 Team",
"address": "52791 Mary Forges, Rosenbaumfurt, KY 94864-6022",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
},
{
"id": "fs_6VE1Wd37dXnZJ",
"type": "filesystems",
"attributes": {
"name": "Mediocre Iron Shoes",
"size_in_gb": 1500,
"created_at": "2025-07-16T18:37:10.246Z",
"project": {
"id": "proj_059EqY67DQj8p",
"name": "Incredible Cotton Watch",
"slug": "incredible-cotton-watch",
"description": "Mediocre Cotton Wallet",
"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_MwVvW6pBAZi97oexYpljUWPNkje",
"name": "561 Team",
"slug": "561-team",
"description": "561 Team",
"address": "52791 Mary Forges, Rosenbaumfurt, KY 94864-6022",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
]
}Lists all the filesystems from a team.
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.ListFilesystems(ctx, latitudeshgosdk.Pointer("sleek-silk-car"))
if err != nil {
log.Fatal(err)
}
if res != nil {
// handle response
}
}{
"data": [
{
"id": "fs_6059EqYkOQj8p",
"type": "filesystems",
"attributes": {
"name": "Ergonomic Marble Lamp",
"size_in_gb": 1500,
"created_at": "2025-07-16T18:37:10.232Z",
"project": {
"id": "proj_kjQwdEa7dYNVP",
"name": "Gorgeous Cotton Bag",
"slug": "gorgeous-cotton-bag",
"description": "Heavy Duty Aluminum Pants",
"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_MwVvW6pBAZi97oexYpljUWPNkje",
"name": "561 Team",
"slug": "561-team",
"description": "561 Team",
"address": "52791 Mary Forges, Rosenbaumfurt, KY 94864-6022",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
},
{
"id": "fs_6VE1Wd37dXnZJ",
"type": "filesystems",
"attributes": {
"name": "Mediocre Iron Shoes",
"size_in_gb": 1500,
"created_at": "2025-07-16T18:37:10.246Z",
"project": {
"id": "proj_059EqY67DQj8p",
"name": "Incredible Cotton Watch",
"slug": "incredible-cotton-watch",
"description": "Mediocre Cotton Wallet",
"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_MwVvW6pBAZi97oexYpljUWPNkje",
"name": "561 Team",
"slug": "561-team",
"description": "561 Team",
"address": "52791 Mary Forges, Rosenbaumfurt, KY 94864-6022",
"status": "verified",
"currency": {
"id": "cur_AW6Q2D9lqKLpr",
"code": "BRL",
"name": "Brazilian Real",
"currency_id": null
}
}
}
}
]
}The project ID or Slug to filter by
Success
The response is of type file.
Was this page helpful?