Skip to content

Attachment Form

Unknown edited this page Apr 25, 2018 · 2 revisions

Request

GET /attachment/{id}
Name Description
{id} 文件的唯一标识符

Response (if found)

200 OK
Content-Type : application/json;charset=utf-8

{id, path, name, ext, size, uploadOn, uploader, fileName}
Name Description
id 文件的唯一标识符
path 文件路径
name 文件名称,不包含扩展名
ext 文件扩展名,不包含点符号
size 文件大小,单位字节
uploadOn 上传时间
uploader 上传者
fileName 文件名称,包含扩展名

Response (if not found)

404 Not Found

Clone this wiki locally