评论任务
POST
https://open.teambition.com/api/v3/task/{taskId}/comment评论任务
请求参数
Path 参数
taskId
string
任务ID
Body 参数application/json
content
string
评论内容
示例
{
"content": "string"
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
object
动态详情
id
string
动态ID
creatorId
string
创建人ID
boundToObjectId
string
绑定的对象ID
boundToObjectType
string
必需
绑定对象类型,默认是task
createTime
string
创建时间(UTC)
updateTime
string
更新时间(UTC)
content
object
动态内容
code
number
响应状态码
errorMessage
string
异常错误信息
示例
{
" result": {
"id": "string",
"creatorId": "string",
"boundToObjectId": "string",
"boundToObjectType": "string",
"createTime": "string",
"updateTime": "string",
"content": {
"title": "string",
"comment": "string"
}
},
"code": 0,
"errorMessage": "string"
}
最后修改时间: 2 年前