Copy Object

API Description

Copy a object.

API Info

API Url Method
https://[HOST]/api/clouddisk-service/clouddisk/object/copy POST
Parameter Value
Authorization Get Token via API (/cas/ebao/v1/json/tickets)

API Parameters

Data format: application/json

Name Type Description Example
sourceBucketName String Bucket name MyBucket
sourceKey String file key myfile/cloud.jpg
destinationBucketName String Bucket name MyBucket
destinationKey String file key myfile/cloud2.jpg

Successful Response

{
    "status": "Ok",
    "message": null,
    "body": true
}

Failed Response

{
    "status": "Ok",
    "message": null,
    "body": false
}

Exception Response

{
    "status": "Failed",
    "message": "error message",
    "body": null
}

results matching ""

    No results matching ""