Skip to main content
Version: Next

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 hostname
  • provider-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

ParameterTypeDescriptionExample
idintegerBucket ID46
namestringBucket namemedia
statusstringCDN status for the bucketok
resource_idintegerResource ID16
last_cache_cleanupstringLast cache cleanup time for the bucket2024-01-01T17:17:17Z
headersobject[]List of additional HTTP headers
headers.keystringHeader nameX-MEDIA-TYPE
headers.valuestringHeader value.pptx