Merge agent branch

Merge a branch into a target branch

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Paramètres de requête

target_branch_idstringRequis
The ID of the target branch to merge into.

Requête

This endpoint expects an object.
archive_source_branchbooleanOptionnelPar défaut true
Whether to archive the source branch after merging
forcebooleanOptionnelPar défaut false

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

Réponse

Successful Response

Erreurs

422
Branches Merge Request Unprocessable Entity Error