本文へジャンプします。

ニフクラ ユーザーガイド

本ページは2023/9/5をもって、新ページhttps://docs.nifcloud.com/object-storage-service/api/GetBucketACL.htmへ移行しました。 今後は新ページをご参照ください。

GetBucketACL

処理概要

バケットのアクセス制御リストを表示します。

リクエストURL

GET /{Bucket}?acl

指定するパラメーター

ヘッダーパラメーター
パラメーター 型 説明 必須
x-amz-content-sha256 string ペイロード全体の計算されたSHA256チェックサム
○
x-amz-date string リクエスト側で生成した現在日時
○
Authorization string リクエスト認証に用いる文字列
○
パスパラメーター
パラメーター 型 説明 必須
Bucket string バケット名
○

応答フィールド

レスポンスヘッダー
フィールド (項目) 型 説明
Date string トランザクションが実行された日時
Content-Type string コンテンツのMIMEタイプ
Content-Length string レスポンスボディのバイト数
Connection string 持続接続の状態を表示します。
x-amz-request-id string

このリクエストに付与されるID
トラブルについて問い合わせる際に利用されます。


x-amz-id-2 string

このリクエストに対する処理ID
トラブルについて問い合わせる際に利用されます。


x-ntap-sg-trace-id string

このリクエストに対する処理ID
トラブルについて問い合わせる際に利用されます。


X-Fcx-Endpoint-Request string APIエンドポイントとしてリクエストを受け付けたことを示す番号
レスポンスボディ
フィールド (項目) 型 説明
AccessControlPolicy structure ACL情報、所有者情報を含むコンテナ
␣Owner structure DisplayNameとIDを含むコンテナ
␣␣ID string バケット所有者のID
␣␣DisplayName string バケット所有者の表示名
␣AccessControlList list Grant情報を含むコンテナ
␣␣Grant structure GranteeとPermissionを含むコンテナ
␣␣␣Grantee structure DisplayName、IDを含むコンテナ
␣␣␣␣ID string Owner.IDと同じ内容が表示されます。
␣␣␣␣DisplayName string Owner.DisplayNameと同じ内容が表示されます。
␣␣␣Permission string Granteeの権限(FULL_CONTROL固定)

リクエストサンプル

    GET /general-bucket?acl HTTP/1.1
User-Agent: curl/7.29.0
Host: jp-east-1.storage.api.nifcloud.com
Accept: */*
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date:20190604T024417Z
Authorization:AWS4-HMAC-SHA256 Credential=XK8Z3830NBL1BT9WD3HD/20190604/jp-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date,Signature=07d0f9f14e06a7285dbe0ca10285a6cb10a445fef98fe393a8b1df9cc316d123

  

応答サンプル

    HTTP/1.1 200 OK
Date: Tue, 04 Jun 2019 02:44:17 GMT
Content-Type: application/xml
Content-Length: 484
Connection: keep-alive
x-amz-request-id: 2659249815
x-amz-id-2: 12174498
x-ntap-sg-trace-id: 9f86b42af690b4cd
X-Fcx-Endpoint-Request: EXECUTED_api2-rmp1.management.jp-east-1.local-28163-755727-1_200

<AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <Owner>
    <ID>42242073901014718119</ID>
    <DisplayName>fj-k5objt-tenant-99</DisplayName>
  </Owner>
  <AccessControlList>
    <Grant>
      <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
        <ID>42242073901014718119</ID>
        <DisplayName>fj-k5objt-tenant-99</DisplayName>
      </Grantee>
      <Permission>FULL_CONTROL</Permission>
    </Grant>
  </AccessControlList>
</AccessControlPolicy>

  
  • ※本ページ記載の金額は、すべて税抜表示です。
  • ※本ページ記載の他社製品名および会社名などは、各社の商標または登録商標です。
  • ※本ページの内容は、2023年9月05日時点の情報です。

推奨画面サイズ 1024×768 以上