JSON格式
Name | Type | Read-only | Comment |
---|---|---|---|
id | integer | yes | 附件id,由系统自动分配 |
url | string | yes | 资源url |
name | string | yes | 附件名称 |
size | integer | yes | 附件大小 |
content_url | string | yes | 附件获取地址,即下载地址 |
token | string | yes | 附件的token,凭借token可以将附件绑定到工单回复等资源 |
JSON 示例
{ "id": 1948, "url": "https://support.kf5.com/apiv2/attachments/1948.json", "name": "hello.gif", "size": 8238, "content_url": "https://support.kf5.com/attachments/download/1948/00154af5872418a7792dda0edb32921/", "token": "00154af5872418a7792dda0edb32921"}