创建合并提案
创建将源分支合并到目标分支的请求。仅有提议权限的调用方可从自己拥有的分支向其父分支发起提议。合并需要目标分支的写入权限。
路径参数
agent_id
智能体 ID。创建智能体时返回此值。
请求头
xi-api-key
请求
This endpoint expects an object.
source_branch_id
Branch whose changes should be merged.
target_branch_id
Branch that should receive the changes.
title
merge_proposal 的简短标题。
description
供审核人员查看的可选详细描述。
requested_reviewer_user_ids
要请求审核的用户 ID。
triage_ticket_id
Issue of this agent that the merge_proposal resolves. Merging it resolves the issue if still open.
响应
成功响应
created_merge_proposal_id
已创建 merge_proposal 的 ID
错误
422
Merge Proposals Create Request Unprocessable Entity Error