Creates a copy object request.
POST {{baseUrl}}/n/:namespaceName/b/:bucketName/actions/copyObject
Creates a request to copy an object within a region or to another region.
See Object Names for object naming requirements.
Request Body
{"destinationBucket"=>"ipsum laboris ullamco aliquip", "destinationNamespace"=>"officia sit", "destinationObjectName"=>"tempor ut Lorem est", "destinationRegion"=>"est laborum s", "sourceObjectName"=>"pariatur minim", "destinationObjectIfMatchETag"=>"labore culpa reprehenderit exercitation", "destinationObjectIfNoneMatchETag"=>"sunt deserunt et", "destinationObjectMetadata"=>{"sunt_1f"=>"consequat", "minim_d79"=>"ex eu consectetur labore", "occaecatd"=>"in enim", "nostrud_8b"=>"irure elit dolore", "qui_4"=>"aliquip"}, "destinationObjectStorageTier"=>"Archive", "sourceObjectIfMatchETag"=>"nulla dolore", "sourceVersionId"=>"Lorem"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-client-request-id | string | The client request ID for tracing. | |
opc-sse-customer-algorithm | string | The optional header that specifies "AES256" as the encryption algorithm. For more information, see | |
Using Your Own Keys for Server-Side Encryption. | |||
opc-sse-customer-key | string | The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or | |
decrypt the data. For more information, see | |||
Using Your Own Keys for Server-Side Encryption. | |||
opc-sse-customer-key-sha256 | string | The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This | |
value is used to check the integrity of the encryption key. For more information, see | |||
Using Your Own Keys for Server-Side Encryption. | |||
opc-source-sse-customer-algorithm | string | The optional header that specifies "AES256" as the encryption algorithm to use to decrypt the source | |
object. For more information, see | |||
Using Your Own Keys for Server-Side Encryption. | |||
opc-source-sse-customer-key | string | The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt | |
the source object. For more information, see | |||
Using Your Own Keys for Server-Side Encryption. | |||
opc-source-sse-customer-key-sha256 | string | The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to | |
decrypt the source object. This value is used to check the integrity of the encryption key. For | |||
more information, see | |||
Using Your Own Keys for Server-Side Encryption. | |||
opc-sse-kms-key-id | string | The OCID of a master encryption key used to call the Key | |
Management service to generate a data encryption key or to encrypt or decrypt a data encryption key. | |||
Content-Type | string | ||
Accept | string |