跳转到内容
开发者文档 / 图床接口

获取图片分页

分页获取当前开发者凭证所属用户上传的图床图片。用户范围由服务端自动限定。

GET/api/pics

鉴权方式 请求头 Api-Key、Api-Secret

查询参数

参数类型必填默认值说明
notesstring否-按图片备注筛选
pageinteger否1页码,最小为 1
perinteger否10每页数量,范围 10–200
bash
curl 'https://resource-api.xyeidc.com/api/pics?notes=cover&page=1&per=10' \
  -H 'Api-Key: YOUR_API_KEY' \
  -H 'Api-Secret: YOUR_API_SECRET'

响应示例

json
{
  "code": 200,
  "msg": "Success!",
  "data": {
    "data": [
      {
        "id": 3201,
        "type": "MEMBER_PIC",
        "memberId": 10001,
        "note": "cover",
        "uuid": "a1b2c3d4",
        "fileType": "png",
        "uploadDate": "2026-08-07 10:00:00"
      }
    ],
    "perPage": 10,
    "currentPage": 1,
    "totalPages": 1,
    "count": 1
  }
}

原图地址为 https://resource-api.xyeidc.com/client/members/pics/{uuid},缩略图在地址末尾追加 /mini。