返回首页

API 文档

外部系统通过 API Key 写入和查询平台表格数据的接口说明。

版本
v0.2.1
更新日期
2026-06-02

API Key

API Key 用于外部系统调用平台开放接口。创建后只展示一次,请妥善保存。平台只保存校验值,不保存明文 secret。

鉴权方式

外部 API 使用 Bearer Token 鉴权,请在请求头中传入:

Authorization: Bearer tmk_xxx.xxx

外部创建表格

POST /api/opengate/app/tables/create

用途:在指定项目下创建外部写入表格。

写入数据

POST /api/opengate/app/tables/upsert

用途:向表格写入或更新数据。

查询数据

POST /api/opengate/app/tables/data

用途:分页查询表格数据。

查看详情

POST /api/opengate/app/tables/details

用途:查询表格字段、统计和基础信息。