Documentation Index
Fetch the complete documentation index at: https://docs.waysdrop.com/llms.txt
Use this file to discover all available pages before exploring further.
File
Use these endpoints to upload files and get a hosted URL back (for example, package images). These endpoints are safe to call directly from a client app if your API key was created withserverOnly unchecked.
Base URLs:
- Live:
https://api.waysdrop.com - Staging:
https://staging-api.waysdrop.com
/file
All upload endpoints require the api-key header.
POST /file/single-upload
Upload a single file and receive a hosted URL. Content-Type:multipart/form-data
Form fields
upload-file(file): the file to upload
POST /file/bulk-upload
Upload multiple files and receive hosted URLs. Content-Type:multipart/form-data
Notes
- The field name of each uploaded file should be the same.
- Maximum files per request:
7.
urls array.
POST /file/download
Download a file by URL. This endpoint returns a binary file response. BodyContent-Type: application/octet-streamContent-Disposition: attachment; filename=<path>