Get buckets of a user
ceph-proj-0159 Get buckets of a user
Path Parameters
- project_id integer required
Project ID
Query Parameters
- all boolean
Possible values: [
false
,true
]Get buckets for all public and private keys
- key_name string
Get buckets for the specific private key. If it is not specified and all is false, only the public buckets will be returned
- bucket_name string
Get buckets with the specific name
Header Parameters
- x-api-host string required
Default value:
ceph-taichung-default
Authentication Required Parameters
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
public object[]
Array [bucket_name stringlast_modified_time date-timebucket_used_space integernum_objects integer]private object[]
Array [key_name stringbuckets object[]
Array [bucket_name stringlast_modified_time date-timebucket_used_space integernum_objects integer]]
{
"public": [
{
"bucket_name": "string",
"last_modified_time": "2024-08-19",
"bucket_used_space": 0,
"num_objects": 0
}
],
"private": [
{
"key_name": "string",
"buckets": [
{
"bucket_name": "string",
"last_modified_time": "2024-08-19",
"bucket_used_space": 0,
"num_objects": 0
}
]
}
]
}
Loading...