biz.kb.articles.{id}
查询指定ID的知识库文章
- 请求路由:
biz.kb.articles.{id}- 交互模型:
Request Response- 访问限制: 无
请求
RSocket.rr({
"route" : "biz.kb.articles.64e8b2f1c2a1e12a3b4c5d6e"
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
id | String | 是 | 文章ID |
返回
文章信息
{
"id" : "64e8b2f1c2a1e12a3b4c5d6e",
"title" : "示例文章",
"content" : "文章内容",
"author" : "张三",
"category" : "技术",
"published" : true,
"attachments" : [ ]
}
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
id | String | 文章ID |
title | String | 文章标题 |
content | String | 文章内容 |
author | String | 文章作者 |
category | String | 文章分类 |
published | Boolean | 是否发布 |
attachments | Object[] | 附件 |
attachments.[].title | String | 附件标题 |
attachments.[].description | String | 附件说明 |
attachments.[].binaryId | String[] | 附件id |
extraProps | Object | 扩展属性 |
crBy | String | 创建者 |
upBy | String | 最后修改者 |
crDate | String | 创建时间 |
upDate | String | 最后修改时间 |
tenantId | String | 租户ID |