PutObject
    • PDF

    PutObject

    • PDF

    Article Summary

    最新のコンテンツが反映されていません。早急にアップデート内容をご提供できるよう努めております。最新のコンテンツ内容は韓国語ページをご参照ください。

    概要

    オブジェクトパスが指定されたPUTリクエストを送ると、リクエスト本文をオブジェクトにアップロードします。
    該当オブジェクトのSHA256ハッシュは必須ヘッダです。
    すべてのオブジェクトのサイズは10TBに制限されます。(マルチパートを使う場合はUploadPartをご参考)
    オペレーションに使われるパラメータ、ペイロードはありません。

    リクエスト

    構文

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

    例示

    リクエスト例示

    PUT /example-bucket/queen-bee HTTP/1.1
    Authorization: {authorization-string}
    x-amz-date: 20160825T183001Z
    x-amz-content-sha256: UNSIGNED-PAYLOAD
    Content-Type: text/plain; charset=utf-8
    Host: kr.object.ncloudstorage.com
    Content-Length: 533
    
     The 'queen' bee is developed from larvae selected by worker bees and fed a
     substance referred to as 'royal jelly'. After a short while the 'queen' is
     the mother of nearly every bee in the hive, and the colony will fight
     fiercely to protect her.
    

    レスポンス例示

    HTTP/1.1 200 OK
    Date: Thu, 25 Aug 2016 18:30:02 GMT
    Accept-Ranges: bytes
    x-amz-request-id: 9f0ca49a-ae13-4d2d-925b-117b157cf5c3
    ETag: "3ca744fa96cb95e92081708887f63de5"
    Content-Length: 0
    

    この記事は役に立ちましたか?

    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.