Use the CDN for Asset Hosting
Upload images, downloads, and large media files and serve them from a stable URL.
The CDN is the right home for anything you don't want to commit to a repo: large images, videos, build artifacts, downloadable installers, user uploads.
Upload from the dashboard
- CDN → Upload. Drag a file in.
- All files are private — they are streamed through the server rather than served from a public edge.
- Copy the resulting URL.
Upload from a script
bash
curl -X POST https://<your-platform>/api/v1/cdn/upload \
-H "Authorization: Bearer $SPARKCLOUD_TOKEN" \
-F "file=@./screenshot.png" Sizing
CDN files count against your storage quota the same way a database or container does. If you upload 50GB of video and your quota is 100GB, you have 50GB left for everything else combined.