1. 知识库
  2. 获取文档缩略图

获取文档缩略图

 

获取文档页面的缩略图。

网址:

获取 http://api.aurelon.com/api/v2/document/<文档GUID> /缩略图/<页码>

请求标头:

MisKey:见认证

回复:

内容类型为 image/png,包含页面缩略图的 PNG。 或内容类型为 application/json 时出现错误内容。

成功:

200 OK:文档页面 PNG 缩略图

错误:

  • 400 错误请求: {“Message”:””PageNumber is not found”}
  • 401 Unauthorized : {“Message”:”Invalid MisKey”}
  • 401 Unauthorized : {“Message”: “”MisKey” or “HardwareHash”, “SerialNumber” and “ApplicationVersion” header are required”}
  • 404 未找到: {“消息”:“未找到 DocumentGUID”}
  • 500 内部服务器错误: {“消息”:“内部服务器错误”}
Updated on 5月 10, 2022

Was this article helpful?