蓝心九问
知识库接口问答型

更新问答

接口描述

此接口用于更新知识库中已有的问答对。

基础信息

请求地址/qa/document/{data_id}/update
请求域名• 办公网域名:http://jiuwen-api.vmic.xyz/v1 • IDC域名:http://jiuwen-api.vivo.lan:8080/v1
请求方法POST

请求参数

Path Params

参数名类型说明
data_idstring数据 ID

示例

Request

curl --location --request POST '${props?.api_base_url}/qa/document/{data_id}/update' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
    "qa_name": "test",
    "answer": "test"
}'

Response

{
  "result": "success"
}

On this page