InitiateMultipartUpload

개요

upload 파라미터로 오브젝트에 POST 요청을 보내면 UploadId 값을 생성합니다. 업로드되는 오브젝트의 각 파트에서 생성된 UploadId 값을 참조합니다.

요청

구문

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

예시

요청 예시

POST /some-bucket/multipart-object-123?uploads= HTTP/1.1
Authorization: {authorization-string}
x-amz-date: 20170303T203411Z
Host: kr.object.ncloudstorage.com

응답 예시

HTTP/1.1 200 OK
Date: Fri, 03 Mar 2017 20:34:12 GMT
Accept-Ranges: bytes
Content-Type: application/xml
Content-Length: 276
<InitiateMultipartUploadResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
  <Bucket>some-bucket</Bucket>
  <Key>multipart-object-123</Key>
  <UploadId>0000015a-95e1-4326-654e-a1b57887784f</UploadId>
</InitiateMultipartUploadResult>