List all buckets for an organization
GET/v1/providers/:provider_id/orgs/:org_id/buckets
Lists all the buckets provisioned in the organization account.
Request
Path Parameters
provider_id stringrequired
Provider ID
org_id stringrequired
Organization ID
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
buckets
object[]
required
name string
Name of the bucket
created_at date-time
RFC3339 formatted timestamp of bucket creation
size int64
Estimated size of the bucket in bytes
object_count int64
Estimated number of objects in the bucket
public boolean
If set to true, the bucket is publicly accessible
storage_class StorageClass (string)
Possible values: [STANDARD
, STANDARD_IA
, GLACIER
, GLACIER_IR
]
Storage class for the bucket. Default is STANDARD
.
object_acl_enabled boolean
If set to true, per object ACL is enabled
{
"buckets": [
{
"name": "string",
"created_at": "2021-09-01T12:00:00Z",
"size": 0,
"object_count": 0,
"public": true,
"storage_class": "STANDARD",
"object_acl_enabled": true
}
]
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
message string
{
"message": "string"
}
Loading...