MENU
Object Storage 利用状況グラフ(リクエスト数) - Account(Billing) API v1
Description
オブジェクトストレージのリクエスト数を取得します。
取得する項目は
- get
- put
- delete
の三項目です。
Request URL
Account API v1.0 GET /v1/{tenant_id}/object-storage/rrd/request
Request Paramters
Parameter | Value | Style | Description |
---|---|---|---|
X-Auth-Token | Userトークン | header | トークンID |
tenant_id | URI | テナントID | |
server_id | UUID | URI | サーバID |
start_date_raw (Optional) | データ取得開始時間(UNIX時間) | query | デフォルト: 一日前 |
end_date_raw (Optional) | データ取得終了時間(UNIX時間) | query | デフォルト: 現時点 |
mode (Optional) | データ統合方法 | query | {average,max,min} デフォルト: average |
Request Json
This operation does not accept a request body.
Normal response codes
200
Example
※エンドポイントURLにつきましては、お客様環境によって異なりますので、コントロールパネルにてご確認の上ご利用ください。
- REQ
curl -i -X GET \ -H "Accept: application/json" \ -H "X-Auth-Token: 35941e7df872405d84e5b026dba8323c" \ https://account.tyo1.conoha.io/v1/487727e3921d44e3bfe7ebb337bf085e/object-storage/rrd/request?start_date_raw=1427161890\&end_date_raw=1427164620\&mode=average
- RES
HTTP/1.1 200 OK Date: Thu, 19 Mar 2015 01:31:26 GMT Server: Apache Content-Length: 1337 Content-Type: application/json { "request": { "schema": [ "unixtime", "get", "put", "delete" ], "data": [ [ 1427162400, 592.50583333, 309.74166667, 309.74166667 ], [ 1427166000, 592.50583333, 309.74166667, 309.74166667 ] ] } }