Buckets API
Upload Object
Upload a file into a specific bucket.
POST
Upload to bucket
The Upload operation adds a new object to a bucket. You can optionally specify aDocumentation Index
Fetch the complete documentation index at: https://docs.nulldrop.xyz/llms.txt
Use this file to discover all available pages before exploring further.
key to define the exact destination path.
CMD / cURL Usage
When uploading from the command line, ensure you use the correct syntax for the file parameter.Request Body
| Parameter | Require | Description |
|---|---|---|
| file | Yes | Binary file to upload. |
| key | No | Destination path (including file name). If omitted, the local filename is used. |
Success Response
Upon successful upload, the API returns the created object’s metadata, including its unique ID, filename, size, and MIME type.Upload to bucket