This API provides secure access to files stored in Cloudflare R2 storage. It allows you to create secure download links, monitor download statistics, and manage file uploads.
To use this API, you need an API key for authentication.
Create a secure download link:
curl -X POST https://api.dev.deslicer.io/api/v1/secure-download \
-H "Content-Type: application/json" \
-H "api-key: YOUR_API_KEY" \
-d '{
"file_key": "path/to/your/file.pdf",
"max_downloads": 1,
"expires_in": 3600
}'