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.

post
Upload a File

https://fileio.couchdrop.io/file/upload
This endpoint allows you to upload files
Request
Response
Request
Query Parameters
system
required
string
Normally just set to "api"
path
required
string
Full file path
size
required
number
File size
token
required
string
API Authentication token
Body Parameters
data
required
object
File
Response
200: OK
Cake successfully retrieved.
{}
403: Forbidden
Permission denied
{"error": "you cannot write to that folder"}

‚Äč