R2
Sippy
Sippy endpoint reference.
Get
Get the Sippy configuration for a bucket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
bucketName | string | Yes | Bucket Name. | |
jurisdiction | string|null | No | Jurisdiction where objects in this bucket are guaranteed to be stored. |
php
$response = $client->r2()->sippy()->get('ACCOUNT_ID', 'BUCKET_NAME', 'JURISDICTION');
Update
Enable Sippy (incremental migration) for a bucket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
bucketName | string | Yes | Bucket Name. | |
values | array | Yes | Values to set, e.g. `source`, `destination`. | |
jurisdiction | string|null | No | Jurisdiction where objects in this bucket are guaranteed to be stored. |
php
$response = $client->r2()->sippy()->update('ACCOUNT_ID', 'BUCKET_NAME', [], 'JURISDICTION');
Delete
Disable Sippy for a bucket.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account Identifier. | |
bucketName | string | Yes | Bucket Name. | |
jurisdiction | string|null | No | Jurisdiction where objects in this bucket are guaranteed to be stored. |
php
$response = $client->r2()->sippy()->delete('ACCOUNT_ID', 'BUCKET_NAME', 'JURISDICTION');

