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

Name
Type
Description

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

Name
Type
Description

token

string

API Access Token

Request Body

Name
Type
Description

data

object

File object to upload

{}

Last updated