蓝心九问
知识库接口表格型

新增数据


接口描述

通过表格数据库的table_id向表格中插入多行数据rows,row的结构与表头有关。

基础信息

请求地址/dataset/table/data/insert
请求域名• 办公网域名:http://jiuwen-api.vmic.xyz/v1 • IDC域名:http://jiuwen-api.vivo.lan:8080/v1
请求方法POST

请求参数

Request Body

参数名类型说明
table_idstring{props?.table_id}
rowslist行数据

示例

Request

curl --location --request POST '${props?.api_base_url}/dataset/table/data/insert' \
--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"table_id":"5310-124f-47f4-aed0","rows":[{"xx1":"贝贝","name2":"吃南瓜"},{"xx2":"呵呵","name2":"皇帝"}]}'

Response

{
  "success": "true"
}

On this page