Cloudflare R2 integration (Storage, Developer Tools). Imported from open-connector.
https://api.cloudflare.com/client/v4/accounts
| Param | Type | Required | Description |
|---|---|---|---|
| page | integer | optional | The result page number. |
| perPage | integer | optional | The page size. |
/accounts/{accountId}/r2/buckets
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| cursor | string | optional | Pagination cursor returned by a previous list_buckets call. |
| direction | string | optional | The sort direction. |
| nameContains | string | optional | Filters buckets whose names contain this phrase. |
| order | string | optional | The field used to order results. |
| perPage | integer | optional | The maximum number of buckets to return. |
/accounts/{accountId}/r2/buckets/{bucketName}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| bucketName | string | required | The R2 bucket name. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |
/accounts/{accountId}/r2/buckets
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| name | string | required | The R2 bucket name. |
| locationHint | string | optional | The R2 bucket region hint. |
| storageClass | string | optional | The default storage class for newly uploaded objects. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |
/accounts/{accountId}/r2/buckets/{bucketName}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| bucketName | string | required | The R2 bucket name. |
| storageClass | string | optional | The default storage class for newly uploaded objects. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |
/accounts/{accountId}/r2/buckets/{bucketName}
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| bucketName | string | required | The R2 bucket name. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |
/accounts/{accountId}/r2/buckets/{bucketName}/cors
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| bucketName | string | required | The R2 bucket name. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |
/accounts/{accountId}/r2/buckets/{bucketName}/cors
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| bucketName | string | required | The R2 bucket name. |
| rules | array | required | The full CORS rule set to store. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |
/accounts/{accountId}/r2/buckets/{bucketName}/cors
| Param | Type | Required | Description |
|---|---|---|---|
| accountId | string | required | The Cloudflare account ID. Custom-credential connections reuse the connected ac… |
| bucketName | string | required | The R2 bucket name. |
| jurisdiction | string | optional | The jurisdiction where objects in the bucket are guaranteed to be stored. |