GetBucketACL
    • PDF

    GetBucketACL

    • PDF

    Article Summary

    Classic/VPC 환경에서 이용 가능합니다.

    요청한 버킷에 적용된 ACL을 조회합니다.

    요청

    요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

    메서드URI
    PUT{bucket-name}

    요청 구문

    요청 구문은 다음과 같습니다.

    GET https://{endpoint}/{bucket-name}?acl= # path style
    GET https://{bucket-name}.{endpoint}?acl= # virtual host style
    

    요청 헤더

    버킷 ACL 설정 API 헤더를 소개합니다. Object Storage API에서 공통으로 사용하는 헤더에 대한 자세한 내용은 Object Storage 공통 헤더를 참조해 주십시오.

    요청 경로 파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    bucket-nameStringRequiredACL 정보를 조회할 버킷 이름

    요청 쿼리 파라미터

    파라미터에 대한 설명은 다음과 같습니다.

    필드타입필수 여부설명
    aclStringOptionalACL 정보 조회

    요청 예시

    요청 예시는 다음과 같습니다.

    PUT /{bucket-name}?acl= HTTP/1.1
    Host: kr.object.ncloudstorage.com
    X-amz-date: {Timestamp}
    Authorization: {authorization-string}
    

    응답

    응답 형식을 설명합니다.

    응답 헤더

    Object Storage API에서 공통으로 사용하는 응답 헤더에 대한 자세한 내용은 Object Storage 공통 응답 헤더를 참조해 주십시오.

    응답 상태 코드

    Object Storage API에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 Object Storage 응답 상태 코드를 참조해 주십시오.

    응답 예시

    응답 예시는 다음과 같습니다.

    HTTP/1.1 200 OK
    Date: Wed, 24 Aug 2016 17:45:25 GMT
    Accept-Ranges: bytes
    x-amz-request-id: xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
    Content-Type: application/xml
    Content-Length: 550
    
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
      <Owner>
        <ID>ncp-xxxxxxx-0</ID>
        <DisplayName>ncp-xxxxxxx-0</DisplayName>
      </Owner>
      <AccessControlList>
        <Grant>
          <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="Group">
            <URI>http://acs.amazonaws.com/groups/global/AllUsers</URI>
          </Grantee>
          <Permission>READ</Permission>
        </Grant>
        <Grant>
          <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
            <ID>ncp-xxxxxxx-0</ID>
            <DisplayName>ncp-xxxxxxx-0</DisplayName>
          </Grantee>
          <Permission>FULL_CONTROL</Permission>
        </Grant>
      </AccessControlList>
    </AccessControlPolicy>
    

    이 문서가 도움이 되었습니까?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.