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.
Path parameters
agent_id
The id of an agent. This is returned on agent creation.
merge_proposal_id
Unique identifier for the merge_proposal.
Headers
xi-api-key
Request
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.
Response
Successful Response
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.
Errors
422
Merge Proposals Merge Request Unprocessable Entity Error