Click to browse or drag & drop files here
Supports single or multi-file uploads (Images, PDFs, CSV, JSON, TXT). Single file limit: 5 MB.
Cloud Storage CDN Architecture & Security Guardrails
Playground API provides a production-grade simulated Cloud Storage CDN sandbox powered by Cloudinary. Uploaded files are processed in zero-disk memory buffers, inspected with binary magic bytes sniffing, partitioned into deep per-identity isolation folders, and assigned publicly accessible HTTPS CDN URLs with instant latency simulation.
Magic Bytes & Anti-Malware
Binary header signature inspection prevents executable masking (e.g. .exe, .sh, .php renamed to .png). Prohibited extensions are immediately rejected.
Itemized Bulk Uploads
Uploading multiple files returns an itemized per-file status list. If 3 files succeed and 2 fail (e.g. oversized or blocked type), valid files are stored while failed files return exact reason codes.
Network Delay Simulation
Use X-Simulate-Delay: 1500 or ?_delay=1500 to test client progress spinners, cancel tokens, and slow 3G network conditions before files reach the CDN.
Strict Thresholds & Quotas
| Parameter | Limit | Error Code | Description |
|---|---|---|---|
| Single File Size | 5 MB | FILE_TOO_LARGE | Files exceeding 5,242,880 bytes are rejected before memory allocation. |
| Bulk Batch Total | 25 MB / 10 files | BATCH_TOO_LARGE | Total size of files in a single bulk request cannot exceed 25 MB. |
| Active Files Quota | 15 files / identity | QUOTA_EXCEEDED | Per-session storage quota. Reset session or delete old files to free capacity. |
| Blocked Formats | .exe, .sh, .bat, .php, .js, .jar | PROHIBITED_FILE_TYPE | Dangerous executable script files are strictly blocked via extension and magic byte headers. |
REST API Endpoints Reference
/api/v1/uploadsUpload a single multipart file (field: file, optional: category).
/api/v1/uploads/bulkUpload multiple files simultaneously with itemized validation results (field: files).
/api/v1/uploads?category=avatarsList all uploaded files in current sandbox identity with optional category filter.
/api/v1/uploads/:idPurge an uploaded file from sandbox storage and Cloudinary CDN.