上传
POST
目标目录通过 path 查询参数指定,暂不支持上传目录
Tokenheader
api-token<token>32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
path*string绝对路径
multipart/form-data- body
file*file要上传的文件
格式
binary返回保存后的文件名与完整路径
application/json- response
fileName*string保存后的文件名
filePath*string保存后的完整路径
curl -X POST "https://example.com/file/v1/upload?path=string" \ -F file="string"{ "fileName": "string", "filePath": "string"}
