创建合并提案
创建合并提案
记录将源分支合并到目标分支的请求。拥有编辑权限的任何人都可以创建请求;之后合并请求需要目标分支的写入权限,因此作者无法自行合并时,可通过此方式将更改提交至受保护的分支。
路径参数
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
此 merge_proposal 要解决的该智能体分诊工单。若工单仍处于打开状态,合并后将解决该工单。
响应
成功响应
created_merge_proposal_id
已创建 merge_proposal 的 ID
错误
422
Unprocessable Entity Error