Get Replication Targets

Retrieve the replication targets of a bucket you own.
EndpointMethodAdmin Required
/api/v1/buckets/:bucketName/replication/targetsGETNo

Returns the replication targets configured for a bucket you own. See Replication for how targets relate to rules.

Path Parameters

bucketName
string required
The name of the bucket.

Response

{
    "targets": [
        {
            "id": "6ff08747-4ec0-48fd-a0b1-f5adda6d3161",
            "endpoint": "https://remote.example.com",
            "targetBucket": "backup-bucket",
            "accessKeyId": "AKIA...",
            "secretAccessKey": "...",
            "region": "us-east-1",
            "enabled": true
        }
    ]
}

Errors

StatusReason
400Missing bucket name
404Bucket not found (or not owned by you)