Merge agent branch

Merge a branch into a target branch

Parametry ścieżki

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

Nagłówki

xi-api-keystringOpcjonalny

Parametry zapytania

target_branch_idstringWymagany
The ID of the target branch to merge into.

Żądanie

This endpoint expects an object.
archive_source_branchbooleanOpcjonalnyDomyślnie true
Whether to archive the source branch after merging
forcebooleanOpcjonalnyDomyślnie false

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

Odpowiedź

Successful Response

Błędy

422
Branches Merge Request Unprocessable Entity Error