storage
List object storage buckets
List object store buckets accessible by the credentials referenced by the given secret. If no credentials provided all managed buckets are returned for all cloud types.
get/api/v1/orgs/{orgId}/buckets
Path parameters
orgIdinteger required
Organization identifier
Query parameters
cloudType'amazon' | 'google' | 'azure'
Identifies the cloud provider - mandatory if secretId header is provided
include'secret'
Signals whether the secret name is to be returned
Headers
secretIdstring
Secret identification. If not provided only the managed buckets (those created via pipeline) are listed
Response
Storage buckets listed
Example response
[
{
"cloud": "amazon",
"notes": "There's no secret with this ID",
"managed": true,
"name": "mybucket",
"aks": {
"resourceGroup": "resourceGroup",
"storageAccount": "storageAccount"
},
"location": "eu-west-1",
"secret": {
"accessId": "cc051aeaf686444e2f125d0e79eb051aaaf4fb73384f7b0f8c89e84a0502dcef",
"accessName": "myaccesssecretname",
"name": "mysecretname",
"id": "cc051aeaf686444e2f125d0e79eb051aaaf4fb73384f7b0f8c89e84a0502dca1"
},
"statusMessage": "statusMessage",
"status": "CREATING"
}
]