Request Parameter of PUT Part - Copy
Type Definition
type CopyPartInput struct
Parameter Description
| Field | Type | Optional or Mandatory | Description |
|---|---|---|---|
| Bucket | string | Mandatory | Target bucket name |
| Key | string | Mandatory | Target object name |
| PartNumber | int | Mandatory | Part number, which ranges from 1 to 10000 |
| UploadId | string | Mandatory | Multipart upload ID |
| CopySourceBucket | string | Mandatory | Source bucket name |
| CopySourceKey | string | Mandatory | Source object name |
| CopySourceVersionId | string | Optional | Source object version ID |
| CopySourceRangeStart | int64 | Optional | Start position for object copy. The value is a non-negative integer. |
| CopySourceRangeEnd | int64 | Optional | Endpoint for object copy. If the value is larger than the source object length minus 1, the actual object length = Source object length - 1. |
| SseHeader | Optional | Header for server-side encryption. It is used to encrypt the target object. | |
| SourceSseHeader | Optional | Header for server-side decryption. It is used to decrypt the source object. |
Last Article: Response Result of PUT Part
Next Article: Response Result of the Request for Copying a Part
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.