Buckets
A bucket represents a storage entity for files in S3 storage. CDN is configured and enabled separately for each bucket.
tip
Bucket URL formation varies by S3 provider and typically follows one of two patterns:
bucket-name.provider-hostname- The bucket name is part of the hostnameprovider-hostname/bucket-name- The bucket name is part of the URL path
Please note this when creating buckets
info
Additional headers for a bucket will be added to all server responses when accessing that bucket
info
Each bucket supports cache clearing, which is necessary when modifying or deleting files from it
The s3_bucket Object
| Parameter | Type | Description | Example |
|---|---|---|---|
| id | integer | Bucket ID | 46 |
| name | string | Bucket name | media |
| status | string | CDN status for the bucket | ok |
| resource_id | integer | Resource ID | 16 |
| last_cache_cleanup | string | Last cache cleanup time for the bucket | 2024-01-01T17:17:17Z |
| headers | object[] | List of additional HTTP headers | |
| headers.key | string | Header name | X-MEDIA-TYPE |
| headers.value | string | Header value | .pptx |