Merge agent branch

Merge a branch into a target branch

パスパラメータ

agent_idstring必須
The id of an agent. This is returned on agent creation.
source_branch_idstring必須
Unique identifier for the source branch to merge from.

ヘッダー

xi-api-keystringオプション

クエリパラメータ

target_branch_idstring必須
The ID of the target branch to merge into.

リクエスト

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

レスポンス

Successful Response

エラー

422
Branches Merge Request Unprocessable Entity Error