How it works:
1
Request
The admin UI calls
POST /api/storage-bunny/stream/tus-auth with the target collection and file info.2
Authorize
The plugin checks access (via
checkAccess or the default rule), creates the video in Bunny Stream, and returns a signed TUS authorization.3
Upload
The browser uploads directly to Bunny using the TUS protocol.
4
Track (optional)
If
cleanup is enabled, the plugin tracks the upload in a hidden bunny-stream-upload-sessions collection until it completes.