Assets
Assets are the raw content files used by templates — HTML templates, PDF files, images, CSS stylesheets, and partials. Each asset is versioned and can reference other assets (e.g., an HTML asset can reference CSS styles and image assets). Assets follow semantic versioning and lifecycle management (Draft, Active, Deprecated).
Assets Operations
- get/v1/orgs/{orgId}/ns/{namespaceKey}/assets
- post/v1/orgs/{orgId}/ns/{namespaceKey}/assets
- get/v1/orgs/{orgId}/ns/{namespaceKey}/assets/{key}
- put/v1/orgs/{orgId}/ns/{namespaceKey}/assets/{key}
- get/v1/orgs/{orgId}/ns/{namespaceKey}/assets/{key}/versions
- post/v1/orgs/{orgId}/ns/{namespaceKey}/assets/{key}/versions
- delete/v1/orgs/{orgId}/ns/{namespaceKey}/assets/{key}/versions/{version}
- patch/v1/orgs/{orgId}/ns/{namespaceKey}/assets/{key}/versions/{version}
