Create the bucket clone
Select
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"
}