PUT
/v2/projects/{projectId}/branches/merge/{mergeId}/resolve-allResolve all branch merge session conflicts
Resolves every conflict in a branch merge session by choosing either the source or target version. Supply resolve to apply the same resolution across all conflicts in the session.
mergeIdintegerrequired
The merge session identifier as a 64-bit integer.
projectIdintegerrequired
The project identifier as a 64-bit integer.
Resolution to apply to all conflicts in the merge session.
resolvestringrequired
The resolution to apply: SOURCE or TARGET.
200Returns confirmation that the resolutions were applied to the branch merge session conflicts.
400Returned when the request is invalid or the resolution value is not accepted.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when you do not have permission to resolve the conflicts.
codestringrequired
paramsarray<object>optional
404Returned when the project or merge session cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid, a 403 when you lack permission, and a 404 when the project or merge session cannot be found. The mergeId and projectId path parameters must identify the session and its project. The body must include resolve, which must be SOURCE or TARGET.