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."}'