v1

latestOpenAPI 3.0.02026-07-2452762.3 KB
Assets

/assets/:assetId/cdnLinks

Create a CDN link for an asset.

Use followsDefaultVersion: true for an evergreen link that tracks the asset's current default version, or versionId to pin the link to a specific version.

Returns 409 Conflict if a link already exists. Use GET /v1/assets/{assetId}/cdnLinks to retrieve the existing link.

post/v1/assets/{assetId}/cdnLinks

Request body

OR

Response

CDN link created successfully

idstring required

The CDN link ID

urlstring uri required

The public CDN URL for the asset or version

assetIdstring required

The asset this CDN link belongs to

followsDefaultVersionboolean required

When true, the link serves the asset's current default version. When false, the link is pinned to a specific version (versionId).

activeboolean required

Whether the CDN link is active and serving content

createdAtstring date-time required
updatedAtstring date-time required
versionIdstring

Present when followsDefaultVersion is false — the pinned asset version ID