Merge agent branch

Merge a branch into a target branch

Parámetros de ruta

agent_idstringRequerido
The id of an agent. This is returned on agent creation.
source_branch_idstringRequerido
Unique identifier for the source branch to merge from.

Encabezados

xi-api-keystringOpcional

Parámetros de consulta

target_branch_idstringRequerido
The ID of the target branch to merge into.

Solicitud

This endpoint expects an object.
archive_source_branchbooleanOpcionalValor predeterminado: true
Whether to archive the source branch after merging
forcebooleanOpcionalValor predeterminado: false

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

Respuesta

Successful Response

Errores

422
Branches Merge Request Unprocessable Entity Error