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.

パスパラメータ

agent_idstring必須

エージェントのID。エージェント作成時に返されます。

merge_proposal_idstring必須

Unique identifier for the merge_proposal.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
archive_source_branchbooleanオプションデフォルト値 true
Whether to archive the source branch after merging.
forcebooleanオプションデフォルト値 false

Force source branch changes onto the target, overriding timestamp-based conflict resolution.

レスポンス

成功レスポンス。

idstring
agent_idstring
source_branch_idstring
target_branch_idstring
source_tip_version_id_at_creationstring
titlestring
created_atinteger
updated_atinteger
descriptionstringオプションデフォルト値
requested_reviewer_user_idslist of stringsオプション
reviewslist of objectsオプション
commentslist of objectsオプション
outcomeobjectオプション
author_user_idstring or nullオプション

User ID of the merge_proposal’s author.

access_infoobject or nullオプション

Access information for the merge_proposal, including creator.

エラー

422
Unprocessable Entity Error