WeMore Table API
  1. 企业自建型应用 API
WeMore Table API
  • WeMore Table API 参考手册 (beta)
  • 数据模型及参数说明手册
  • 用户级 API
    • 用户级 API
    • 获取字段列表
      GET
    • 获取通讯录
      GET
    • 查询数据
      GET
    • 添加数据
      POST
    • 获取行数据
      GET
    • 更新数据
      PUT
    • 删除行数据
      DELETE
    • 获取所有视图
      GET
    • 查看视图
      GET
  • 企业自建型应用 API
    • 企业自建型应用 API 参考手册
    • 获取通讯录
      GET
    • 发送通知
      POST
    • 查询数据
      GET
    • 添加数据
      POST
    • 批量操作
      POST
    • 修改评论
      PUT
    • 删除评论
      DELETE
    • 获取行数据
      GET
    • 更新数据
      PUT
    • 删除行数据
      DELETE
    • 获取评论
      GET
    • 添加评论
      POST
    • 改变行的位置
      PUT
  • 第三方应用提供商 API
    • 第三方应用 API 参考手册
    • 创建系统级应用
      POST
    • 获取通讯录
      GET
    • 发送通知
      POST
    • 查询数据
      GET
    • 添加数据
      POST
    • 批量操作
      POST
    • 修改评论
      PUT
    • 删除评论
      DELETE
    • 获取行数据
      GET
    • 更新数据
      PUT
    • 删除行数据
      DELETE
    • 获取评论
      GET
    • 添加评论
      POST
    • 改变行的位置
      PUT
  1. 企业自建型应用 API

添加评论

POST
/third/api/v1/row/{rowId}/comment
ThirdApi管理
最后修改时间:2022-07-04 07:49:36

请求参数

Path 参数
rowId
string 
行id
必需
Query 参数
tableName
string 
表名
可选
Body 参数application/json
data
array[object (评论内容) {2}] 
可选
评论内容 [{type: "text", value: "ABC"}, {type: "mention", value: 999}]
type
string 
可选
type:text、mention、paragraph
value
object (JsonNode) 
可选
memberIds
array[integer <int32>]
可选
被@的人的 memberId 集合
url
string 
通知的路径
可选
示例
{
  "data": [
    {
      "type": "string",
      "value": {}
    }
  ],
  "memberIds": [
    0
  ],
  "url": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.wemore.com/foxTable/third/api/v1/row//comment' \
--header 'Content-Type: application/json' \
--data-raw '{
    "data": [
        {
            "type": "string",
            "value": {}
        }
    ],
    "memberIds": [
        0
    ],
    "url": "string"
}'

返回响应

🟢200OK
application/json
Body
code
enum<string> 
可选
枚举值:
参考 OtherDoc 中的说明
data
object (BaseResVo) 
可选
id
string 
可选
msg
string 
必需
示例
{
  "code": "参考 OtherDoc 中的说明",
  "data": {
    "id": "string"
  },
  "msg": "string"
}
🟢201Created
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found

扫码联系专属客服

在这里,可获得 WeMore 使用上的任何帮助,快速上手让你的效率得到大幅提升

专属客服
上一页
获取评论
下一页
改变行的位置
Built with