GetObjectACL
    • PDF

    GetObjectACL

    • PDF

    기사 요약

    개요

    오브젝트의 경로 뒤에 ?acl= 파라미터가 지정된 GET 요청을 보내면 요청한 오브젝트에 적용된 접근 제어 목록(ACL)을 조회합니다. 오퍼레이션에 사용되는 페이로드는 없습니다.

    구문

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

    예시

    요청 예시

    GET /example-bucket/queen-bee?acl= HTTP/1.1
    Authorization: {authorization-string}
    x-amz-date: 20161207T155945Z
    Host: kr.object.gov-ncloudstorage.com
    

    응답 예시

    HTTP/1.1 200 OK
    Date: Wed, 07 Dec 2016 15:59:46 GMT
    Accept-Ranges: bytes
    x-amz-request-id: 78541562-29bf-4800-9eb3-0c360f0a037a
    Content-Type: application/xml
    Content-Length: 550
    
    <AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
      <Owner>
        <ID>{owner-user-id}</ID>
        <DisplayName>{owner-user-id}</DisplayName>
      </Owner>
      <AccessControlList>
        <Grant>
          <Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser">
            <ID>{owner-user-id}</ID>
            <DisplayName>{owner-user-id}</DisplayName>
          </Grantee>
          <Permission>FULL_CONTROL</Permission>
        </Grant>
      </AccessControlList>
    </AccessControlPolicy>
    

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

    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.