获取附件列表

GET /apiv2/attachments/AttachmentLists.json

调用权限:agent

Query参数
NameRequiredTypeComment
pagenumber页码,默认为 1
per_pagenumber分页尺寸,默认为 10
返回示例
Status: 200 OK
{
    "code": 0,
    "page_count": 18,//分页总数
    "page": 1,
    "per_page": 10,
    "attachments": [
        {
            "content_url": "http://b.localhost.co/attachments/download/11/001574406c2ec805e99d720d6d899bb/?filename=2.jpg",
            "url": "https://b.kf5.co/apiv2/attachments/11.json",
            "id": "11",
            "name": "2.jpg",
            "size": 2349,
            "token": "001574406c2ec805e99d720d6d899bb"
        },
        ...
    ]
}