GetObjectACL
    • PDF

    GetObjectACL

    • PDF

    Article Summary

    Overview

    Gets ACLs for the object by making a GET request with the ?acl= parameter after the object path. No payload is used for the operation.

    Request

    Syntax

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

    Examples

    Request example

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

    Response example

    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>
    

    Was this article helpful?

    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.