Object storage
Bucket operation

GetBucketACL

Returns the access control policy for the bucket.

GET200 on successluzon

Request

Request line
GET https://<bucket>-<appid>.cos.luzon.convergecloudcos.com/?acl

Addressed at the bucket host, <bucket>-<appid>.cos.luzon.convergecloudcos.com, where <appid> is the account AppId.

Query parameters: acl. Every query parameter in the request must also be named in q-url-param-list and covered by the signature.

Behaviour

A new bucket grants full control to its owner and nothing else.

Example

curl
curl -X GET \
  -H "Authorization: q-sign-algorithm=sha1&q-ak=…&q-signature=…" \
  "https://<bucket>-<appid>.cos.luzon.convergecloudcos.com/?acl"
Response — 200
<AccessControlPolicy>
	<Owner>
		<ID>qcs::cam::uin/100000000001:uin/100000000001</ID>
		<DisplayName>qcs::cam::uin/100000000001:uin/100000000001</DisplayName>
	</Owner>
	<AccessControlList>
		<Grant>
			<Grantee xsi:type="CanonicalUser">
				<ID>qcs::cam::uin/100000000001:uin/100000000001</ID>
			</Grantee>
			<Permission>FULL_CONTROL</Permission>
		</Grant>
	</AccessControlList>
</AccessControlPolicy>