评论合并提案

在 merge_proposal 上添加评论,但不记录审核结论。与审核不同,评论会累积,即使 merge_proposal 已合并或关闭,仍可添加评论。

路径参数

agent_idstring必需

智能体 ID。创建智能体时返回此值。

merge_proposal_idstring必需

merge_proposal 的唯一标识符。

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
bodystring必需1-4096 characters

评论文本。支持 Markdown。

响应

成功响应

idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstring可选默认为
requested_reviewer_user_idslist of strings可选
reviewslist of objects可选
commentslist of objects可选
outcomeobject可选
author_user_idstring or null可选

merge_proposal 作者的用户 ID。

access_infoobject or null可选

merge_proposal 的访问信息,包括创建者。

错误

422
Unprocessable Entity Error