评论任务
POST
https://open.teambition.com/api/v3/task/{taskId}/comment
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open.teambition.com/api/v3/task//comment' \
--header 'Authorization: Bearer <appAccessToken>' \
--header 'X-Tenant-Id: 50c32af35a87e6b2...' \
--header 'X-Tenant-Type: organization' \
--header 'Content-Type: application/json' \
--data-raw ''
响应示例响应示例
{
" result": {
"id": "string",
"creatorId": "string",
"boundToObjectId": "string",
"boundToObjectType": "string",
"createTime": "string",
"updateTime": "string",
"content": {
"title": "string",
"comment": "string"
}
},
"code": 0,
"errorMessage": "string"
}
请求参数
Path 参数
taskId
string
任务ID
Header 参数
Authorization
string
可选
默认值:
{{Authorization}}
X-Tenant-Id
string
企业 ID
默认值:
{{X-Tenant-Id}}
X-Tenant-Type
string
可选
默认值:
organization
Body 参数application/json