Request Parameters for Copying Parts
| Parameter | Type | Mandatory (Yes/No) | Description |
|---|---|---|---|
| options | const obs_options * | Yes | The context of the requested bucket. Refer to Configuring option (SDK for C) to set the AK, SK, endpoint, bucket, timeout, and temporary credentials through obs_options. |
| key | char * | Yes | Object name |
| object_info | obs_copy_destination_object_info * | Yes | Object information |
| object_info->destination_bucket | char * | Yes | Bucket where the destination object is located |
| object_info->destination_key | char * | Yes | Destination object name |
| object_info->last_modified_return | int64_t * | Yes | Latest time when the object was modified |
| object_info->etag_return_size | int | Yes | Cache size of ETag |
| object_info->etag_return | char * | Yes | Cache of ETag |
| copypart | obs_upload_part_info * | Yes | Information about the part to be uploaded |
| copypart->part_number | unsigned int | Yes | Number of the uploaded part. |
| copypart->upload_id | char * | Yes | Task ID of a multipart upload |
| put_properties | No | Properties of the uploaded object | |
| encryption_params | No | Server-side encryption configuration | |
| handler | Yes | A callback structure where all members are pointers to callback functions, used to set the callback functions that handle response data. You can set a callback function to copy the response data from the server to your custom callback_data. | |
| callback_data | void * | No | Custom callback data. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot