Create the bucket clone
Create the bucket clone of the given bucket id
Path Parameters
- id int32 required
ID of the bucket
- application/json
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.
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- cloneId int32
cloneId (equivalent to the clone job Id).
- endPointURL string
The S3 URL of bucket
{
"cloneId": 0,
"endPointURL": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Internal Server Eror
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR
,INVALID_INPUT
,VALUE_NOT_FOUND
,UNKNOWN_EXCEPTION
,CONNECTION_PROBLEM
,UNKNOWN_SQL_ERROR
,INVALID_USER
,INVALID_OPERATION_TYPE
,INTERNAL_SERVER_PROBLEM
,INSUFFICIENT_USER_PERMISSION_ON_ENTITY
,INVALID_ENTITY_ID
]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
POST /v4/cvfs/s3bucket/:id/clone
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'
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
}'