获取知识库集合
GET
/knowledge请求参数
Header 参数
Authorization
string
必需
/open/auth/token接口获取的Bearer类型的token
示例值:
Bearer 0cb972b0-516c-8c7a-8c95-955263eed4c1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
array [object {8}]
必需
id
number
必需
rules
array[string]
必需
imtypes
array[string]
必需
groups
array[string]
必需
type
string
test或url
content
string
回复内容
request
object
必需
replace
string
替换
示例
{
"code": 0,
"message": "string",
"data": [
{
"id": 0,
"rules": [
"string"
],
"imtypes": [
"string"
],
"groups": [
"string"
],
"type": "string",
"content": "string",
"request": {
"url": "string",
"method": "string",
"body": "string",
"headers": [
"string"
],
"location": true,
"response_type": "string",
"get": "string",
"regex": "string",
"template": "string",
"disappear": "string"
},
"replace": "string"
}
]
}
最后修改时间: 1 年前