Methods
(inner) get /knowledge_base_type(languageopt, timestamp, sign)
Parameters:
Name |
Type |
Attributes |
Description |
language |
String(50)
|
<optional>
|
语种,不传或无值将维持默认语种(简体中文)不会转换简繁体文字内容,目前支持:simplifiedChinese:简体中文,traditionalChinese:繁体中文 2022/2/28 |
timestamp |
String(10)
|
|
时间戳,值为秒值,长度10位,时间戳有效期:±10分钟 |
sign |
String(64)
|
|
签名 |
Properties:
Name |
Type |
Description |
_id |
String(24)
|
id |
title |
String(100)
|
知识库类型名称 |
children |
Array.<Object>
|
子类型数组
Properties
Name |
Type |
Description |
_id |
String(24)
|
id |
title |
String(100)
|
知识库类型名称 |
|
Examples
请求示例:/knowledge_base_type?timestamp=1570429406&sign=725085C8A709A4F16183B26FBB9E67A156A2F3D82D47CE00A067902EA006FA15
返回示例:
[{
"children": [
{
"_id": "5e318cf14f3e661950a3f0d4",
"title": "本地名医"
},
{
"_id": "5e318cf84f3e661950a3f0d5",
"title": "古代名医"
},
{
"_id": "5e318cff4f3e661950a3f0d6",
"title": "当代名医"
}
],
"_id": "5db8f9766dc96f2654001ca5",
"title": "国医大师"
}]