Get Replication Targets
Retrieve the replication targets of a bucket you own.
| Endpoint | Method | Admin Required |
|---|---|---|
/api/v1/buckets/:bucketName/replication/targets | GET | No |
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
| Status | Reason |
|---|---|
400 | Missing bucket name |
404 | Bucket not found (or not owned by you) |