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