English
cURL
curl "https://api.phrase.com/v2/projects/:project_id/branches/:name/compare?name=my-branch" \ -u USERNAME_OR_ACCESS_TOKEN
{}
Compare branch with main branch.
Note: Comparing a branch may take several minutes depending on the project size. Consider using the POST /compare endpoint for creating comparison asynchronously.
POST /compare
Enter your token in the format token TOKEN
token TOKEN
Two-Factor-Authentication token (optional)
Project ID
name
Name of the branch
OK
Was this page helpful?