Object Storage
Create replication
/object-storage/replicationsReplicate a bucket to another CubePath bucket (in this organization, or in another one that gave you a replication grant) or to an external S3 compatible bucket over HTTPS. Versioning must be enabled. New objects are copied as they are written and, by default, the existing ones too. Both CubePath buckets are in the same storage cluster, so it is not a disaster recovery copy; replication to an external destination is billed as egress.
Authorization
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Request body
Replicate a bucket to one destination.
length ≤ 36Where to replicate: a CubePath bucket (bucket_uuid, plus grant_token when it belongs to
another organization) or an external S3 compatible bucket (endpoint, region, bucket and keys).
Properties (10)
"cubepath""external"cubepath: the destination bucket
length ≤ 36cubepath: the grant of the destination owner (another organization)
length ≤ 64external: informative
"aws""wasabi""other"external: public HTTPS host of the provider, optionally with :443
3 ≤ length ≤ 2531 ≤ length ≤ 643 ≤ length ≤ 63external: default auto
"auto""on""off"1 ≤ length ≤ 128Never returned
1 ≤ length ≤ 2561 ≤ length ≤ 1024items ≥ 1Rangeitems ≤ 10Properties (2)
1 ≤ length ≤ 128length ≤ 256Replicate delete markers
falseReplicate deletes of a specific version
falseCopy the objects the bucket already holds
trueResponses
Successful Response
application/json