Create CDN distribution
Creates a CDN distribution that caches and serves content from an object storage bucket or other origin through the edge network. Requires scope: cdn.write.
Authentication
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Query parameters
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
Request
Display name of the distribution (1-128 characters).
Bucket name for bucket origins, or the custom origin’s ID.
bucket: serve an Object Storage bucket (default).custom: serve a custom origin.
Caching behaviour. Default static-assets.
static-assets: long-term caching for immutable assets; 1 year at the CDN, browsers revalidate.media: medium-term caching for video and audio; 30 days at the CDN.short: short-term caching for frequently changing content; 1 hour at the CDN.no-cache: no caching, for dynamic responses.
Response
bucket: an Object Storage bucket.custom: a custom origin.
Caching behaviour in effect.
static-assets: long-term caching for immutable assets; 1 year at the CDN, browsers revalidate.media: medium-term caching for video and audio; 30 days at the CDN.short: short-term caching for frequently changing content; 1 hour at the CDN.no-cache: no caching, for dynamic responses.
active: serving.deploying: configuration is being rolled out to the edge.disabled: turned off.failed: deployment failed.deleted: removed.
Hostname IBEE assigned to the distribution, for example dl-abc123.cdn.ibee.ai.
https:// URL of default_domain.
When the distribution was created (ISO 8601).
When the distribution was last changed (ISO 8601).
