MENU
      PutObject

        PutObject


        기사 요약

        Classic/VPC 환경에서 이용 가능합니다.

        요청 본문으로 버킷에 신규 오브젝트를 추가합니다. 오퍼레이션에 사용되는 요청 쿼리 파라미터, 요청 바디는 없습니다.

        참고
        • 모든 오브젝트의 크기는 10 TB로 제한됩니다. 멀티파트를 사용하는 경우에는 UploadPart를 참조해 주십시오.

        요청

        요청 형식을 설명합니다. 요청 형식은 다음과 같습니다.

        메서드URI
        PUT/{bucket-name}/{object-name}

        요청 구문

        요청 구문은 다음과 같습니다.

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

        요청 헤더

        Object Storage API에서 공통으로 사용하는 헤더에 대한 자세한 내용은 Object Storage 공통 요청 헤더를 참조해 주십시오.

        요청 경로 파라미터

        파라미터에 대한 설명은 다음과 같습니다.

        필드타입필수 여부설명
        bucket-nameStringRequired오브젝트를 추가할 버킷 이름
        object-nameStringRequired추가할 오브젝트 이름

        요청 예시

        요청 예시는 다음과 같습니다.

        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

        응답

        응답 형식을 설명합니다.

        응답 헤더

        Object Storage API에서 공통으로 사용하는 응답 헤더에 대한 자세한 내용은 Object Storage 공통 응답 헤더를 참조해 주십시오.

        응답 상태 코드

        Object Storage API에서 공통으로 사용하는 응답 상태 코드에 대한 자세한 내용은 Object Storage 응답 상태 코드를 참조해 주십시오.

        응답 예시

        응답 예시는 다음과 같습니다.

        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
        HTTP

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

        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.