Authentication
The upload endpoint requires a valid Bearer token in the Authorization header.Base URL
Endpoints
Upload File
Upload a file to make it publicly accessible.POST /api/public_upload
Form Data:
Response:
Supported File Types
The service supports uploading the following file types:- Images: PNG, JPEG, GIF, SVG, WebP
- Documents: PDF, TXT, DOC, DOCX, XLS, XLSX, PPT, PPTX
- Media: MP3, MP4, WAV, AVI
- Other: JSON, CSV, XML, ZIP
File Size Limits
- Maximum file size: 10 MB per file
- Total storage quota may apply based on your account tier
Error Responses
Security Considerations
Files uploaded through this service are publicly accessible without authentication. Do not upload sensitive or confidential information. The service performs the following security measures:- File content scanning for malware
- File type validation to prevent malicious file uploads
- Randomized filenames to prevent guessing
- CDN integration for distributed content delivery
Implementation Notes
- Files are stored in a cloud storage bucket
- Public URLs are generated automatically upon successful upload
- Files may be cached by CDN for faster delivery
- There are no automatic expiration policies for uploaded files
- To remove a file, contact your system administrator