1 Star 0 Fork 1

tim1103 / luogu-api-docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
images.md 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
undefined 提交于 2020-07-07 17:51 . Simplify parameters

图片 API

列出图片

请求 GET /image
参数 { user: number; content: string; }
响应主体 application/json (DataResponse<ImageListData>)

获取图片

请求 GET /api/image/detail/:id
响应主体 application/json ({ image: Image; })

生成上传参数

请求 GET /api/image/generateUploadLink
参数 { watermarkType: number; captcha: string; }
响应主体 application/json (GenerateUploadParametersResponse)

删除图片

请求 POST /api/image/delete
请求主体 application/json ({ images: string[]; })
响应主体 application/json ({})
1
https://gitee.com/tim1103/luogu-api-docs.git
git@gitee.com:tim1103/luogu-api-docs.git
tim1103
luogu-api-docs
luogu-api-docs
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891