Get Tenant Information List#

テナント一覧を取得します。

APIエンドポイント#

リージョン APIエンドポイント
西日本リージョン3の場合 https://objectstorage-s.jp-west-3.cloud.global.fujitsu.com
東日本リージョン3の場合 https://objectstorage-s.jp-east-3.cloud.global.fujitsu.com

HTTPメソッドとURI#

GET

/v2/admin/accounts

HTTPステータスコード#

正常時:200

エラー時:400, 403, 404, 405, 409, 411, 412, 416, 422, 500, 501, 503

リクエストパラメータの説明#

名前 In Type デフォルト値
/必須指定
Description
X-Auth-Token header string 必須 認証のトークン

レスポンスヘッダーの説明#

名前 Type Description
Date string トランザクションが実行された日時
Content-Type string MIME仕様で定義されているコンテントの形式
Content-Length string レスポンスボディのバイト数
X-Fcx-Endpoint-Request string このリクエストに付与されるID
トラブルについて問い合わせる際に利用されます。

レスポンスボディ(正常系)の説明#

名前 Type Description
apiVersion string APIの内部のバージョン番号
data object idからquotaObjectBytesまでを含むテナントデータの情報
id string テナント識別子
オブジェクトストレージ内で一意の識別子です。この識別子を利用してテナントの操作を実施します。
name string テナント名
quotaObjectBytes integer このテナント内に格納できる最大byte数
responseTime string 応答が生成された日時
status object 要求の結果
「success」または「error」が表示されます。

リクエスト例#

リクエストヘッダー

GET /v2/admin/accounts/ HTTP/1.1
User-Agent: curl/7.29.0
Host: objectstorage-s.jp-east-3.cloud.global.fujitsu.com
Accept: */*
X-Auth-Token:gAAAAABc55-xy7RTlk6vZB4g3yFj1hJUdLTo58C0sCoxIrjELu-rn4PkYVMSU8kfdbSd27luBTfuTpL1p_acpNNKg200LmLWiJ9Gt672zSWVx8CdBqurIUMWzytyaQVSM5pbfV2OZYRgmRRkw-ZzIOQxUefLeizC4NTKYDBH87pYseNAChvvSRs

レスポンス例#

レスポンスヘッダー

HTTP/1.1 200 OK
Date: Fri, 24 May 2019 07:39:30 GMT
Content-Type: application/json
Content-Length: 498
Connection: keep-alive
Api-Version: 2
Cache-Control: no-cache
Content-Security-Policy: frame-ancestors 'self'; block-all-mixed-content
Expires: Fri, 24 May 2019 07:39:30 GMT
Strict-Transport-Security: max-age=31536000; includeSubDomains
Vary: Api-Version
X-Content-Security-Policy: frame-ancestors: 'self'; block-all-mixed-content
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Fcx-Endpoint-Request: EXECUTED_api3-rmp2.management.jp-east-3.local-11647-64259-1_200

レスポンスボディ

{
    "apiVersion": "2.2",
    "data": [
        {
            "id": "46799197538990820493",
            "name": "fj-k5objt-tenant-92",
            "quotaObjectBytes": 10737418240
        },
        {
            "id": "66318738446727689332",
            "name": "test_tenant_0",
            "quotaObjectBytes": 214748364800
        },
        {
            "id": "83252798452012467279",
            "name": "fj-k5objt-tenant-91",
            "quotaObjectBytes": null
        }
    ],
    "responseTime": "2019-05-24T07:39:30.544Z",
    "status": "success"
}