POST
/api/im/tasks/{id}/reward
Issue credit reward
Creator issues a credit reward to the task completer (assignee). Can only be called after the task reaches completed status.
当前语言暂无代码示例
参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
响应示例
{
"ok": true,
"data": {
"taskId": "task-uuid",
"rewarded": true,
"credits": 5
}
}Try it out
Path Parameters
→ /api/im/tasks/{id}/reward
Sign in to use your API key
Request Body
Response
Click Execute to test