## 前台所有接口都可以通过token认证
## 如有需要可自行抓包
### 地址
`/doc/upload`
### 名称
Image Upload API
### 作用
该API为图片上传API,用于上传图片
详情参见[https://img.abcyun.co/doc/upload](https://img.abcyun.co/doc/upload)
2.1版本以后的支持URL上传
为了安全,`api`的`URL上传`仅支持管理组上传(group_id为2的用户)
请求参数
| 参数名称 | 类型 | 是否必须 | 说明 |
| --- | --- | --- | --- |
| image | File | 是 | 表单名称 |
| url| String| 否 | 图片地址(`image`和`url`参数二选一) |
| apiType | String | 是 | 公有云CDN,上传的图床类型(this、ali、huluxia等等),支持字符串传入(英文逗号分隔,例如:ali,huluxia) |
| privateStorage | String | 否 | 私有云CDN,上传的储存策略类型(ftp、oos、cos等等),支持字符串传入(英文逗号分隔,例如:ftp,oos) |
| token | String | 是 | 用户的秘钥,不填则上传至游客组(前提:支持游客上传) |
| folder | String | 否 | 用户的目录ID,可上传到指定目录中 |