JSON格式

NameTypeRead-onlyComment
idintegeryes附件id,由系统自动分配
urlstringyes资源url
namestringyes附件名称
sizeintegeryes附件大小
content_urlstringyes附件获取地址,即下载地址
tokenstringyes附件的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"}