Merge base branch into workspace
Repository Workspace Manipulation
Merge base branch
Fast-forwards a workspace to incorporate the latest changes from its base branch.
Conflict handling: When explicitly requested by users, conflicts are created and returned as a merge ID for manual resolution. This ensures the workspace is up-to-date with the branch before committing.
Returns:
412 Precondition Failedif the workspace is detached503 Service Unavailableif a dependent service is unavailable202 Acceptedwith merge_id if conflicts occurred200 OKif changes were applied204 No Contentif already up-to-date
POST
Merge base branch into workspace
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128Example:
"example_id"
The repo ID of the workspace.
Required string length:
3 - 128Example:
"example_id"
Response
The merge into a workspace was completed successfully

