API Documentation
POST /api/upload
Upload file từ bên thứ 3
curl -X POST \
-H "X-API-Key: your-api-key-change-me-12345" \
-F "file=@/path/to/file.jpg" \
https://cdnpublic.theyourlist.com/api/upload
GET /api/files
Lấy danh sách file
curl -H "X-API-Key: your-api-key-change-me-12345" \
https://cdnpublic.theyourlist.com/api/files
DELETE /api/delete/{id}
Xóa file theo ID
curl -X DELETE \
-H "X-API-Key: your-api-key-change-me-12345" \
https://cdnpublic.theyourlist.com/api/delete/FILE_ID