Storage API
Upload, manage, and deliver files using ScallerFox Object Storage API.
Note: Storage API endpoints are under development. Full documentation will be available soon.
Upload File
POST
/api/storage/uploadUpload a file to object storage.
Example Request:
curl -X POST https://api.scallerfox.com/api/storage/upload \\
-H "Authorization: Bearer YOUR_TOKEN" \\
-F "file=@/path/to/file.jpg" \\
-F "folder=images"List Files
GET
/api/storage/filesList all files in your storage bucket.
Get File URL
GET
/api/storage/files/{id}Get CDN URL for a file.
Delete File
DELETE
/api/storage/files/{id}Delete a file from storage.