上传
目标目录通过 path 查询参数指定,暂不支持上传目录
授权
Token api-token<token>
32位令牌,在控制面板《个人设置 - 令牌管理》页面获取
位置: header
查询参数
path*string
绝对路径
请求主体
multipart/form-data
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
application/json
curl -X POST "https://example.com/file/v1/upload?path=string" \ -F file="string"{ "fileName": "string", "filePath": "string"}
