Object Storage Orchestration API Reference

3.1. GET Service ostor-usage
”s3-usage-obj1”,
”s3-usage-obj2”,
”s3-usage-obj3”,
...
]
}
If obj is specified:
{ ”fmt_version”: version of response format,
”service_id”: idof a service that collected statistics,
”start_ts”: timestamp of statistics upload,
”period”: statistics upload period in seconds,
”nr_items”: number of counters,
”items”: [//list of usage counters
{
”key”: { ”bucket”: ”bucket-name”, ”epoch”:bucket’s epoch, ”user_id”: ”user id”, ”tag”: ”statistics object tag” },
”counters”: {
”ops”: { ”put”:count of put ops, ”get”: count of get ops, ”list”: count of list ops, ”other”: count of other ops },
”net_io”: { ”uploaded”:number of uploaded bytes during the period,
”downloaded”: number of downloaded bytes during the period }
}
},
...
]
}
3.1.4 Examples
3.1.4.1 Sample Request #1
The following request returns information about all statistics objects.
GET /?ostor-usage /HTTP1.1
Date : Mon, 11 Apr 2016 16:43:16 GMT+3:00
Host : ostor-test-1
27