Listing user buckets via REST API
You can list all buckets in S3 with the ostor-buckets service:
# s3_curl GET "http://s3.example.com/?ostor-buckets"
{
"Buckets": [
{
"size": {
"current": 12288,
"h_integral": 7360512,
"hmax": 12288,
"last_ts": 424241
},
"epoch": 0,
"owner_id": "ba7eba06129464c5",
"name": "bucket1",
"creation_date": "2018-05-25T17:12:00.000Z"
},
{
"size": {
"current": 46700160,
"h_integral": 28160196480,
"hmax": 46700160,
"last_ts": 424237
},
"epoch": 0,
"owner_id": "ccbec013d9fd3918",
"name": "bucket2",
"creation_date": "2018-05-25T13:51:55.000Z"
},
{
"size": {
"current": 12288,
"h_integral": 8036352,
"hmax": 12288,
"last_ts": 424186
},
"epoch": 0,
"owner_id": "9d80d59edbe2862a",
"name": "bucket3",
"creation_date": "2018-05-23T10:30:49.000Z"
}
]}