Skip to main content

Upload into a file drop

POST 

/api/v1/filedrops/:id

Stores the request body as a new file named name directly in the file drop's folder and returns the name it was stored under. name must be a plain file name: an empty name, ., .., or a name containing /, \ or a NUL character returns 400, so uploads cannot create subfolders or land outside the folder. Existing files are never overwritten: if the name is taken, a counter is added (report-1.pdf, report-2.pdf, …). The file's modification time is the upload time. 409 means another upload took the same name at the same moment; retry. Large files can be sent in pieces with chunk/chunks; chunks must be sent in order and the final chunk completes the upload. Anyone with the link may upload, without a session. An expired drop returns 404, and a password-protected drop returns 423 until unlocked with POST /api/v1/filedrops/{id}/unlock.

Request​

Responses​

Stored name.