知识管理
预览知识文件
Changed on返回知识条目关联的原始文件,Content-Type 根据文件类型设置,用于浏览器内嵌预览
get/knowledge/{id}/preview
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/knowledge/{id}/preview
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Path parameters
idstring required
知识ID
Response
文件内容
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking