Branches
Merge Branch
Required scopes: project.source.string (Read and Write).
NOTE: By default, during merge: strings will be added from the source branch, deleted strings will be removed, changed strings will be updated. Conflicted strings will remain unchanged unless acceptSourceChanges is enabled.
post/projects/{projectId}/branches/{branchId}/merges
Request
- Base URLhttps://api.crowdin.com/api/v2
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Project Identifier. Get via List Projects
branchIdinteger required
Branch Identifier. Get via List Branches
Request body
Example request
{
"deleteAfterMerge": true,
"sourceBranchId": 8,
"dryRun": true,
"acceptSourceChanges": true
}Response
Branch merge was successfully started
Example response
{
"data": {
"identifier": "50fb3506-4127-4ba8-8296-f97dc7e3e0c3",
"status": "finished",
"progress": 100,
"attributes": {
"sourceBranchId": 38
},
"createdAt": "2019-09-23T11:26:54+00:00",
"updatedAt": "2019-09-23T11:26:54+00:00",
"startedAt": "2019-09-23T11:26:54+00:00",
"finishedAt": "2019-09-23T11:26:54+00:00"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.