获取合并提案

获取单个 merge_proposal。

路径参数

agent_idstring必需

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

merge_proposal_idstring必需

merge_proposal 的唯一标识符。

请求头

xi-api-keystring可选

响应

成功响应

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