Merge A Merge Proposal
Execute the merge. The caller must have write access to the target branch (admins only, for a protected branch), so this is where a reviewer approves and merges a request opened by someone who could not.
Parâmetros de caminho
agent_id
O ID de um agente. Ele é retornado na criação do agente.
merge_proposal_id
Unique identifier for the merge_proposal.
Cabeçalhos
xi-api-key
Solicitação
This endpoint expects an object.
archive_source_branch
Whether to archive the source branch after merging.
force
Force source branch changes onto the target, overriding timestamp-based conflict resolution.
Resposta
Resposta bem-sucedida
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
Access information for the merge_proposal, including creator.
Erros
422
Unprocessable Entity Error