Skip to main content

Create the bucket clone

Create the bucket clone of the given bucket id

Path Parameters
  • id int32 required

    ID of the bucket

Request Body
  • fromTime int32

    Clone objects in the bucket created on or after the specified time in unix format.

  • toTime int32 required

    Clone objects in the bucket created on or before the specified time in unix format.

  • copyPrecedence int32 required

    The copy precedence to use for the clone operation

  • reservationTime int32 required

    Clone reservation time in seconds. The clone will be automatically deleted after the specified duration.

Responses

Success


Schema
  • cloneId int32

    cloneId (equivalent to the clone job Id).

  • endPointURL string

    The S3 URL of bucket

POST /v4/cvfs/s3bucket/:id/clone    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://localhost/webconsole/api
token
id — path required
Body
{
"fromTime": 0,
"toTime": 0,
"copyPrecedence": 0,
"reservationTime": 0
}
curl -L -X POST 'https://localhost/webconsole/api/V4/CVFS/S3Bucket/:id/Clone' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"fromTime": 0,
"toTime": 0,
"copyPrecedence": 0,
"reservationTime": 0
}'