GetCopyrightProtection
所有文档

          对象存储 BOS

          GetCopyrightProtection

          接口描述

          此命令用来获取某个Bucket的原图保护配置情况。

          请求语法

          GET /?copyrightProtection HTTP/1.1
          Host: <BucketName>.bj.bcebos.com
          x-bce-date: date
          Authorization: <AuthorizationString>

          请求示例

          GET /?copyrightProtection HTTP/1.1
          Host: <BucketName>.bj.bcebos.com
          x-bce-date: 2016-04-06T06:34:40Z 
          Authorization: AuthorizationString

          响应示例

          HTTP/1.1 200 OK
          Content-Length: 124
          Date: Wed, 06 Apr 2016 06:34:40 GMT
          Server: BceBos
          x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786410
          
          {	
              "resource": [
                  "bucket/prefix/*",
                  "bucket/*/suffix"
              ]
          }

          响应示例

          HTTP/1.1 404
          Date: Wed, 06 Apr 2016 06:34:40 GMT
          Server: BceBos
          x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786410

          说明: 请求者拥有FULL_CONTROL权限才允许查看,否则返回403错误,错误码为AccessDenied。

          上一篇
          PutBucketCopyrightProtection
          下一篇
          DeleteCopyrightProtection