GetCopyrightProtection
Updated at:2025-11-03
API description
This command retrieves the original image protection configuration of a bucket.
Request syntax
Plain Text
1GET /?copyrightProtection HTTP/1.1
2Host: <BucketName>.bj.bcebos.com
3x-bce-date: date
4Authorization: <AuthorizationString>
Request example
Plain Text
1GET /?copyrightProtection HTTP/1.1
2Host: <BucketName>.bj.bcebos.com
3x-bce-date: 2016-04-06T06:34:40Z
4Authorization: AuthorizationString
Response example
Plain Text
1HTTP/1.1 200 OK
2Content-Length: 124
3Date: Wed, 06 Apr 2016 06:34:40 GMT
4Server: BceBos
5x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786410
6{
7 "resource": [
8 "bucket/prefix/*",
9 "bucket/*/suffix"
10 ]
11}
Response example
Plain Text
1HTTP/1.1 404
2Date: Wed, 06 Apr 2016 06:34:40 GMT
3Server: BceBos
4x-bce-request-id: 4db2b34d-654d-4d8a-b49b-3049ca786410
Note: Only requesters with FULL_CONTROL permission are allowed to view it. Otherwise, 403 error is returned with the error code AccessDenied.
