Object Storage Orchestration API Reference
Table Of Contents
3.1. GET Service ostor-usage
{ "nr_items": 9,
"truncated": false,
"items": [
"s3-usage-8000000000000003-2016-04-11T13:10:29.000Z-1800",
"s3-usage-8000000000000003-2016-04-11T13:12:53.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:13:23.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:15:53.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:16:23.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:31:54.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:33:25.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:33:55.000Z-30",
"s3-usage-8000000000000003-2016-04-11T13:34:25.000Z-30"
]
}
3.1.4.3 Sample Request #2
The following request returns information from the object
s3-usage-8000000000000003-2016-04-11T13:33:55.000Z-30.
GET /?ostor-usage&obj=s3-usage-8000000000000003-2016-04-11T13:12:53.000Z-30 /HTTP1.1
Date: Mon, 11 Apr 2016 17:48:21 GMT+3:00
Host: ostor-test-1
Authorization: <authorization_string>
3.1.4.4 Sample Response #2
HTTP/1.1 200 OK
X-amz-req-time-micros : 576
Transfer-encoding : chunked
Server : nginx/1.8.1
Connection : keep-alive
X-amz-request-id : 80000000000000030006b6bf23c77f09
Date : Mon, 11 Apr 2016 14:48:21 GMT
Content-type : application/json
{ "fmt_version": 1, "service_id":8000000000000003,
"start_ts":1460380373, "period": 30, "nr_items":2,
"items": [
{
"key": { "bucket": "bucket", "epoch":16394, "user_id": "f82c23f7823589eb", "tag": "" },
"counters": {
"ops": { "put":15, "get":0, "list":1, "other":0 },
"net_io": { "uploaded":99785, "downloaded":0 }
29










