GetObject
    • PDF

    GetObject

    • PDF

    Article Summary

    개요

    오브젝트 경로가 지정된 GET 요청을 전달하면 오브젝트를 다운로드합니다. 오퍼레이션에 사용되는 파라미터, 페이로드는 없습니다.

    구문

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

    헤더(선택사항)

    헤더타입설명
    rangestring지정한 범위 내에서 오브젝트의 크기를 바이트 단위로 반환함
    if-matchstring (ETag)지정한 ETag 문자열이 소스 오브젝트와 일치하는 경우 오브젝트를 반환함
    if-none-matchstring (ETag)지정한 ETag 문자열이 소스 오브젝트와 다를 경우 오브젝트를 반환함
    if-unmodified-sincestring (timestamp)지정한 날짜 이후에 소스 오브젝트를 수정하지 않은 경우 오브젝트를 반환함
    유효한 날짜 형식이어야 함 (예: Wed, 30 Nov 2016 20:21:38 GMT).
    if-modified-sincestring (timestamp)지정한 날짜 이후에 소스 오브젝트를 수정한 경우 오브젝트를 반환함
    유효한 날짜 형식이어야 함 (예: Wed, 30 Nov 2016 20:21:38 GMT).

    예시

    요청 예시

    GET /example-bucket/worker-bee HTTP/1.1
    Authorization: {authorization-string}
    x-amz-date: 20160825T183244Z
    Host: kr.object.fin-ncloudstorage.com
    

    응답 예시

    HTTP/1.1 200 OK
    Date: Thu, 25 Aug 2016 18:34:25 GMT
    x-amz-request-id: 116dcd6b-215d-4a81-bd30-30291fa38f93
    Accept-Ranges: bytes
    ETag: "d34d8aada2996fc42e6948b926513907"
    Content-Type: text/plain; charset=UTF-8
    Last-Modified: Thu, 25 Aug 2016 17:46:53 GMT
    Content-Length: 467
    
     Female bees that are not fortunate enough to be selected to be the 'queen'
     while they were still larvae become known as 'worker' bees. These bees lack
     the ability to reproduce and instead ensure that the hive functions smoothly,
     acting almost as a single organism in fulfilling their purpose.
    

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

    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.