合并合并提案
合并合并提案
执行合并。调用方必须拥有目标分支的写入权限(对于受保护分支,仅限管理员),因此审核者可在此批准并合并由无权操作者发起的请求。
路径参数
agent_id
智能体 ID。创建智能体时返回此值。
merge_proposal_id
merge_proposal 的唯一标识符。
请求头
xi-api-key
请求
This endpoint expects an object.
archive_source_branch
合并后是否归档源分支。
force
将源分支更改强制应用到目标,覆盖基于时间戳的冲突解决方式。
响应
成功响应
id
agent_id
source_branch_id
target_branch_id
source_tip_version_id_at_creation
title
created_at
updated_at
description
requested_reviewer_user_ids
reviews
comments
outcome
access_info
merge_proposal 的访问信息,包括创建者。
错误
422
Unprocessable Entity Error