产品指南
大数据多维表格
仪表盘
空间站
集成指南
自动化指南
企业AI智能体模板
私有化部署
开发者与扩展
最佳实践
marketing
功能参考
自动化触发器
自动化执行器
第三方集成
节点资源
数据表视图
数据表字段
仪表盘组件
智能任务
AI 向导
公式
空间站
更新日志
视频演示
loading...
本 OpenAPI 采用 Basic Auth 认证方式。在发起请求时,请求头中需添加Authorization字段,其值为Basic <Base64编码的用户名:密码>。例如,当用户名为admin,密码为123456时,Authorization字段的值为Basic YWRtaW46MTIzNDU2(YWRtaW46MTIzNDU2是admin:123456经 Base64 编码后的结果)。通过这种认证方式,系统能够准确识别用户身份,后续调用各类接口时,无需再单独传递username和password参数,极大地简化了操作流程,提高了接口调用的便捷性和效率。
OpenAPI文档结构数据: https://{您部署地址}/api/site-admin/openapi/openapi.json
空间站对象示例:
{
"id": "usr123456",
"name": "zhangsan",
"email": "zhangsan@example.com",
"phone": "13800138000",
"createdAt": "2023-01-01T12:00:00Z"
}
请求路径:https://{your_domain}/api/site-admin/openapi/users
请求方法:POST
请求体参数:
请求体示例:
{
"id": "custom_user_id",
"name": "zhangsan",
"email": "zhangsan@example.com",
"phone": "13800138000"
}
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custom_user_id",
"name": "zhangsan",
"email": "zhangsan@example.com",
"phone": "13800138000",
"createdAt": "2025-01-01T12:00:00Z"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/users/{id}
请求方法:GET
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custom_user_id",
"name": "zhangsan",
"email": "zhangsan@example.com",
"phone": "13800138000",
"createdAt": "2025-01-01T12:00:00Z"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/users/{id}
请求方法:PUT
路径参数说明:
请求体参数说明:
示例请求:
{
"name": "lisi",
"email": "lisi@example.com",
"phone": "1392928182163",
"timezone": "Asia/Shanghai"
}
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custom_user_id",
"name": "zhangsan",
"email": "zhangsan@example.com",
"phone": "13800138000",
"createdAt": "2025-01-01T12:00:00Z"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/users/{id}
请求方法:DELETE
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"message": "SUCCESS"
}
空间站对象示例:
{
"id": "spcXyz789Qrs012",
"name": "New Space Station",
"owner": "usrAbc123Def456",
"createdAt": "2023-01-01T12:00:00Z"
}
请求 URL:https://{your_domain}/api/site-admin/spaces
请求方法:POST
请求体参数:
请求体示例:
{
"id": "spcCustom789",
"name": "New Space Station",
"owner": "usrAbc123Def456",
"createdAt": "2023-01-01T12:00:00Z"
}
{
"success": true,
"code": 200,
"data": {
"id": "spcCustom789",
"name": "New Space Station",
"owner": "usrAbc123Def456",
"createdAt": "2023-01-01T12:00:00Z"
}
}
请求 URL:https://{your_domain}/api/site-admin/spaces/{id}
请求方法:PUT
请求路径参数:
请求体参数:
请求体示例:
{
"name": "Updated Space Station",
}
{
"success": true,
"code": 200,
"data": {
"id": "spcXyz789Qrs012",
"name": "Updated Space Station",
"owner": "new_owner_id",
"createdAt": "2023-01-01T12:00:00Z"
}
}
空间站对象示例:
{
"id": "custom_team_id",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
请求路径:https://{your_domain}/api/site-admin/openapi/teams/{id}
请求方法:GET
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custom_team_id",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/teams/{id}/children
请求方法:GET
请求路径参数:
请求查询参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"data": [
{
"id": "custom_team_id_2",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
},
{
"id": "custom_team_id_2",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
]
}
请求路径:https://{your_domain}/api/site-admin/openapi/teams
请求方法:POST
请求体参数:
请求体示例:
{
"id": "custom_team_id",
"name": "front",
"spaceId": "spcXxx124"
}
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custom_team_id",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/teams/{id}
请求方法:PUT
请求路径参数:
请求体参数:
请求体示例:
{
"name": "back"
}
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custom_team_id",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/teams/{id}
请求方法:DELETE
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"message": "SUCCESS"
}
对象示例:
{
"id": "custome_user_id",
"name": "lily",
"userId": "custome_user_id",
"email": "lily@example",
"createdAt": "2023-01-01T12:00:00Z",
"teams": [
{
"id": "custom_team_id",
"name": "develop",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
]
}
请求路径:https://{your_domain}/api/site-admin/openapi/members
请求方法:POST
请求体参数说明:
请求体示例:
{
"id": "1234-213-12312",
"userId": "usr123",
"spaceId": "spc123",
"name": "王五",
"teamIds": ["custom_team1", "team2"],
"createdAt": "2023-01-01T12:00:00Z"
}
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custome_user_id",
"name": "lily",
"userId": "custome_user_id",
"email": "lily@example",
"createdAt": "2023-01-01T12:00:00Z",
"teams": [
{
"id": "custom_team_id_1",
"name": "front",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
},
{
"id": "custom_team_id_2",
"name": "back",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
]
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/members/{id}
请求方法:GET
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custome_user_id",
"name": "lily",
"userId": "custome_user_id",
"email": "lily@example",
"createdAt": "2023-01-01T12:00:00Z",
"teams": [
{
"id": "custom_team_id_1",
"name": "front",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
},
{
"id": "custom_team_id_2",
"name": "back",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
]
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/members/{id}
请求方法:PUT
请求路径参数:
请求体参数:
请求体示例:
{
"name": "simon",
"teamIds": ["custom_team1", "team2"],
"roleIds": ["custom_role1", "role2"]
}
响应示例数据:
{
"success": true,
"code": 200,
"data": {
"id": "custome_user_id",
"name": "lily",
"userId": "custome_user_id",
"email": "lily@example",
"createdAt": "2023-01-01T12:00:00Z",
"teams": [
{
"id": "custom_team_id_1",
"name": "front",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
},
{
"id": "custom_team_id_2",
"name": "back",
"parentId": "team_parent_id",
"memberCount": 2,
"createdAt": "2023-01-01T12:00:00Z"
}
]
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/members/{id}
请求方法:DELETE
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"message": "SUCCESS"
}
请求路径:https://{your_domain}/api/site-admin/openapi/roles
请求方法:POST
请求路径参数:
请求体示例:
{
"spaceId": "string",
"id": "string",
"name": "string",
"manageSpace": false,
"permissions": [
"member"
]
}
响应结果:
响应示例数据:
{
"success": true,
"code": 0,
"message": "string",
"data": {
"id": "string",
"templateId": "string",
"name": "string",
"type": "Role",
"createdAt": "string",
"deleted": false,
"sequence": 0,
"manageSpace": false,
"permissions": [
"member"
],
"memberCount": 0
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/roles/{id}
请求方法:PUT
请求路径参数:
请求体参数:
请求体示例:
{
"name": "string",
"manageSpace": false,
"permissions": [
"member"
]
}
响应结果:
响应示例数据:
{
"success": true,
"code": 0,
"message": "string",
"data": {
"id": "string",
"templateId": "string",
"name": "string",
"type": "Role",
"createdAt": "string",
"deleted": false,
"sequence": 0,
"manageSpace": false,
"permissions": [
"member"
],
"memberCount": 0
}
}
请求路径:https://{your_domain}/api/site-admin/openapi/roles/{id}
请求方法:DELETE
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 200,
"message": "SUCCESS",
"data": null
}
请求路径:https://{your_domain}/api/site-admin/openapi/nodes/{id}/permissions
请求方法:POST
请求路径参数:
请求体参数:
NO_ACCESS(禁止访问),CAN_VIEW(可查看),CAN_EDIT_CONTENT(仅可更新),CAN_EDIT(可以编辑),FULL_ACCESS(可以管理)
请求体示例:
{
"privilege": "CAN_EDIT_CONTENT",
"unitIds": ["mebwVnDxxxx","rolxxxxxx"]
}
响应示例数据:
{
"success": true,
"code": 200,
"message": "SUCCESS",
"data": null
}
请求路径:https://{your_domain}/api/site-admin/openapi/outgoing-webhooks
请求方法:GET
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 0,
"message": "string",
"data": [
{
"id": "string",
"name": "string",
"callbackURL": "string",
"description": "string",
"eventType": "ON_NODE_CREATED"
}
]
}
枚举值
属性 | 值 | 说明 |
eventType | ON_NODE_CREATED | 在节点被创建时触发 |
eventType | ON_NODE_UPDATED | 当节点被更新时触发 |
eventType | ON_NODE_DELETED | 在节点被删除时触发 |
eventType | ON_RECORD_CREATED | 当一条记录被创建时触发 |
eventType | ON_RECORD_UPDATED | 在记录被更新时触发 |
eventType | ON_RECORD_DELETED | 当记录被删除时触发 |
eventType | ON_FORM_SUBMITTED | 在表单被提交时触发 |
eventType | BEFORE_MEMBER_JOINED | 在成员加入/邀请之前触发 |
eventType | ON_MEMBER_INVITE | 邀请显示定制通录讯加载数据时触发 |
eventType | DO_MEMBER_INVITE | 定制邀请通讯录选确认时触发 |
名称 | 位置 | 类型 | 必选 | 说明 |
body | body | object | 否 | none |
name | body | string | 是 | none |
callbackURL | body | string | 是 | none |
description | body | string | 否 | none |
eventType | body | string | 是 | none |
nodeId | body | string | 否 | none |
枚举值
属性 | 值 | |
eventType | ON_NODE_CREATED | |
eventType | ON_NODE_UPDATED | |
eventType | ON_NODE_DELETED | |
eventType | ON_RECORD_CREATED | |
eventType | ON_RECORD_UPDATED | |
eventType | ON_RECORD_DELETED | |
eventType | ON_FORM_SUBMITTED | |
eventType | BEFORE_MEMBER_JOINED | |
eventType | ON_MEMBER_INVITE | |
eventType | DO_MEMBER_INVITE |
{
"name": "string",
"callbackURL": "string",
"description": "string",
"eventType": "BEFORE_MEMBER_JOINED",
"nodeId": "string"
}
{
"success": true,
"code": 0,
"message": "string",
"data": {
"id": "string",
"name": "string",
"callbackURL": "string",
"description": "string",
"eventType": "ON_NODE_CREATED"
}
}
请求路径:https://{your_domain}/api/site-admin/openapi//outgoing-webhooks/{id}
请求方法:DELETE
请求路径参数:
响应结果:
响应示例数据:
{
"success": true,
"code": 0,
"message": "string",
"data": {
"id": "string",
"name": "string",
"callbackURL": "string",
"description": "string",
"eventType": "ON_NODE_CREATED"
}
}
Coming soon