English
cURL
curl "https://api.phrase.com/v2/projects/:project_id/branches/:name/compare" \ -u USERNAME_OR_ACCESS_TOKEN \ -X POST \ -d '{"direction":"merge"}' \ -H 'Content-Type: application/json'
{}
Create a branch comparison asynchronously.
Enter your token in the format token TOKEN
token TOKEN
Two-Factor-Authentication token (optional)
Project ID
name
direction of comparison, possible values are sync or merge (only for v2 branches)
"merge"
Accepted
Was this page helpful?