Uploading a File

Uploading a file is the most common use case for our API. Files are uploaded in binary form as the post body.

Upload a File

POST https://fileio.couchdrop.io/file/upload

This endpoint allows you to upload files

Query Parameters

NameTypeDescription

path

string

Path to upload destination

size

number

File size

modtime

number

Last modified time. (Not all storage providers support the specification of modtimes on upload)

Headers

NameTypeDescription

token

string

API Access Token

Request Body

NameTypeDescription

data

object

File object to upload

{}

Last updated