跳到主要内容

查询PPT图片(贴纸)列表

1.接口说明

请求该接口查询由PPT文档生成的图片(贴纸)列表,支持分页查询。

  • 只返回解析成功的图片数据。
  • 不同PPT文件生成的贴纸,按PPT创建时间倒序排列。
  • 同一个PPT文件生成的贴纸,按图片在PPT中的页面顺序排列。

2.请求地址

https://digitbot.bokecc.com/api/ppt/image/page

3.请求方式

GET

4.请求参数

(1).公共参数,参考服务说明

(2).接口参数

①.Query参数:通过URL参数传递。

参数名类型必需说明
versionString接口版本号,当前支持版本:1.0.0。
projectIdString项目ID。
pptIdStringPPT-ID,支持批量查询,多个PPT文档ID使用","连接,最多连接100个ID。
pageNumInteger查询页码,正整数。默认值:1。
pageSizeInteger分页大小,正整数,取值范围为[1, 100]区间,默认值:25。

5.请求示例

GET https://digitbot.bokecc.com/api/ppt/image/page?projectId=xxx&pageNum=1&pageSize=50&accountId=xxx&version=1.0.0&hash=xxx&time=xxx HTTP/1.1

6.响应示例

{
"count": 100,
"items": [{
  "id": "xxx",
"pptId": "xxxxx",
"indexNo": 1,
"createTime": "2024-01-29 13:30:00",
"imageUrl": "https://xxxx.xxxxx/xx",
"width": 300,
"height": 300,
"pptNotes": "xxxxxx"
}, ...]
}

7.响应说明

字段名类型说明
countLong符合查询条件的PPT图片总数量。
itemsArray查询页返回的PPT图片(image)列表。

image字段说明

字段名类型说明
idStringPPT图片ID。
pptIdStringPPT-ID。
indexNoIntegerPPT图片在PPT中的页面编号,从1开始,按顺序递增。
createTimeString创建时间,yyyy-MM-dd HH:mm:ss格式。
imageUrlStringPPT图片链接。
widthIntegerPPT图片宽度,像素值。
heightIntegerPPT图片高度,像素值。
pptNotesStringPPT图片对应PPT页面中的备注信息。