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
    

    ヘッダ

    ヘッダ名必須タイプ制約事項説明
    rangeNostring指定した範囲内でオブジェクトのサイズをバイト単位で返却します。
    if-matchNostring (ETag)指定したETag文字列がソースオブジェクトと一致する場合、オブジェクトを返却します。
    if-none-matchNostring (ETag)指定したETag文字列がソースオブジェクトと異なる場合、オブジェクトを返却します。
    if-unmodified-sinceNostring (timestamp)指定した日付以降にソースオブジェクトを修正しなかった場合、オブジェクトを返却します。 有効な日付形式である必要があります。(例: Wed, 30 Nov 2016 20:21:38 GMT).
    if-modified-sinceNostring (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.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.