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
- Base URLapi.air.inc (relative, and the document’s source URL is not known)
- Auth
- API key in header x-api-key and API key in header x-air-workspace-id
- or HTTP bearer and API key in header x-air-workspace-id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
CDN link created successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.