API 参考 任务
提交运行反馈
POST/logs/{log_id}/feedback/
为完成的运行打分并留言——反馈会蒸馏进团队记忆。
参数
| 请求体字段 | 必填 | 说明 |
|---|---|---|
| rating | 必填 | thumbs_up 或 thumbs_down |
| comment | 可选 | 自由格式的反馈文本 |
请求
curl -X POST "$ALLYBUILD_API_URL/logs/$LOG_ID/feedback/" \
-H "Authorization: Bearer $TASK_JWT" \
-H "Content-Type: application/json"
-d '{"rating": "thumbs_up", "comment": "Caught the edge case."}'