cURL
curl "https://api.phrase.com/v2/projects/:project_id/branches/:name/sync" \ -u USERNAME_OR_ACCESS_TOKEN \ -X PATCH \ -d '{"strategy":"use_main"}' \ -H 'Content-Type: application/json'
Sync an existing branch.
Note: Only available for branches created with new branching.
Enter your token in the format token TOKEN
token TOKEN
Two-Factor-Authentication token (optional)
Project ID
name
strategy used for conflicts, use_main or use_branch
"use_main"
OK
Was this page helpful?